DEV Community

Discussion on: PageBuilder with ACF Flexible Content - Guide to Gatsby WordPress Starter Advanced with Previews, i18n and more

Collapse
 
henrikwirth profile image
Henrik Wirth

Hi James,

glad you enjoy the series. First of all you would need to add the pageBuilder to your Posts with ACF like so:

ACF Rules

Then it is a similar process like with the pages. I created a branch to make it more easy for you. Checkout the last commit to see the changes. There are quite a few, but it is basically just to ensure certain functions or certain data work with either posts or pages.

I only tested it really quickly, so there is a high chance, that something still needs some tweaking.

henrikwirth/gatsby-starter-wordpre...

Collapse
 
jimmy2 profile image
James

Hi Henrik,

Wow, that's awesome! Thank you so much. I'll definitely checkout that branch.

James

Thread Thread
 
henrikwirth profile image
Henrik Wirth

Let me know if it works and feel free to share your work. Always interested in what people build with this stack :)

Thread Thread
 
jimmy2 profile image
James

Tested it out with a custom ACF layout on a post.

Works marvellously ;)