Home Forums ACF PRO Parent layout name


Parent layout name

  • I want to use flexible content layouts to create a custom cms and be able to use the content created in the layouts as featured content on the homepage of the site. The way I want to do that is to have a checkbox as the first field in the layout and if that checkbox is true the content of the layout will be written to the homepage.

    Therefore what I need to do is identify the layout name from the layouts that have the checkbox marked. So far, using database queries I can find checkboxes with the checked value and the post that they appear in but I can’t find the name of the containing layout.

    Any help would be good.


Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.