Home › Forums › Support › How to replace main content using element block ? This topic has 9 replies, 4 voices, and was last updated 2 years, 5 months ago by Fernando. Viewing 10 posts - 1 through 10 (of 10 total) Author Posts April 12, 2023 at 8:03 am #2607402 bruno 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 April 12, 2023 at 8:06 am #2607406 DavidStaff Customer Support Hi there, use a Block Element, with the Display Rules set to your single post and set the element type to Content Template: https://docs.generatepress.com/article/block-element-content-template/ April 12, 2023 at 10:59 am #2607632 bruno That works perfectly thanks ! Is there a way to integrate custom fields in the loop query ? April 12, 2023 at 11:28 am #2607655 YingStaff Customer Support GB’s blocks have the dynamic data option:https://docs.generateblocks.com/article/dynamic-data-options-overview/ April 12, 2023 at 1:09 pm #2607745 bruno @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. April 12, 2023 at 4:50 pm #2607910 YingStaff Customer Support 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. April 12, 2023 at 5:46 pm #2607926 bruno I’m sorry, I don’t see that option, can you make a screenshot please ? April 12, 2023 at 6:01 pm #2607933 Fernando Customer Support Hi Bruno, This section in the article has a screenshot: https://docs.generateblocks.com/article/dynamic-data-options-overview/#content-post-meta April 13, 2023 at 6:51 pm #2609066 bruno Thank you Fernando April 13, 2023 at 7:14 pm #2609085 Fernando Customer Support You’re welcome, Bruno! Author Posts Viewing 10 posts - 1 through 10 (of 10 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In