Support

Account

Home Forums ACF PRO Parent layout name

Unread

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.

    Andy

Viewing 1 post (of 1 total)

The topic ‘Parent layout name’ is closed to new replies.