Site logo

Archived topic

How to replace main content using element block ?

9 replies · Started by bruno on April 12, 2023

Viewing posts 1–10 of 10

Hi

I created a custom post type for which I want the main content to have a specific design and text placement (ACF).
I created a block element, but I don't see any option to replace main_content with it ?

Thanks

That works perfectly thanks !

Is there a way to integrate custom fields in the loop query ?

@Ying, I found that section, but there's no ACF or similar in it. I want to show only elements with a specific custom field value from a CPT.

ACF or other same kinds of plugins create custom fields for certain post types, and store data as the post meta.

You can set the source content to post meta, then enter the ACF field name.

I'm sorry, I don't see that option, can you make a screenshot please ?

Thank you Fernando

You're welcome, Bruno!

This archived topic is closed to new replies.