Ewa Budrys Site

Your SUPER-powered WP Engine Site

Get Started with Headless

WP Engine’s Headless WordPress Framework includes this example project, the headless WordPress plugin, headless packages, and tutorials to make building headless WordPress sites fast and fun.

Developer Docs

Headless on GitHub

Explore this Example Project

This headless example project uses Next.js, GraphQL, GQty and the WP Engine headless packages for WordPress integration. Dive in and edit this template at src/pages/index.tsx or discover more below.

Global Styles and Fonts

Add styles to load on every page, such as typography and layout rules, in src/scss/main.scss. The project adds normalize.css in src/pages/_app.tsx. Google Fonts are enqueued in src/pages/_document.tsx.

Components

Add or edit components in the src/components folder. Find component styles at src/scss/components, which use CSS modules to scope CSS to each component.

Hooks

Fetch data from WordPress with usePost, usePosts, useGeneralSettings and other custom hooks. Use these hooks in your page templates to pass data to custom components. See src/pages/index.tsx for examples.

Latest Posts

The Posts component in src/pages/index.tsx shows the latest six posts from the connected WordPress site.

Post 8

“The right and wrong answers should come from your heart.”

Read more

Post 7

TEST: I expect that it will be automatically added to my Atlas site

Read more

post 3

4.3 Odosobnienia szukają sobie na wsi, nad morzem i w górach. Ty też przywykłeś tęsknić za tym najbardziej. Wszystko to jednak jest nadzwyczaj prostackie. Można bowiem, o jakiej tylko chcesz porze, samotnię odnaleźć, zwróciwszy się do samego siebie. Nigdzie człowiek nie znajdzie spokojniejszego ani bardziej wolnego od zadań odosobnienia niż we własnej duszy, a przede […]

Read more

Post 2

Skromnie przyjmować, spokojnie tracić.

Read more

Questions or comments?

We welcome feature requests, bug reports and questions in the Headless Framework GitHub repository.