Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #319721

    Hi –
    I am using custom post types… therefore I have edited meta.php to be able to use the advanced layout editor for content creation.

    Further I have created a template called “single-myposttype” to display the post and everything actually works fine as long as I do not use the advanced layout editor… but… as soon as I push the button “Advanced Layout Editor” in my post my template “single-myposttype” is not applied anymore…

    Any idea why? Should I use a different template name? Or is the post type changed by Advanced Layout Editor?

    Thanks for your help !


    Hi ernst86913!

    The layout builder already uses a custom page template, its the template-builder.php file. So you could add conditional code to that template that will only run if its of your own CPT.

    Best regards,

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.