• Resolved Tesacu

    (@teresaezc)


    Hi,

    I’m using a Genesis child Theme and WordPress last version.

    In the CPT I created I don’t have the page layout settings. I’ve selected support for Page Attributes when I created de CPT, but they don’t appear.

    Would you have any idea how could I solve it? I need to be able to change the layout for each page but I can’t do it, because I can’t edit that setting from the editor…

    Thank you

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Curious if this still applies here https://www.brianlis.com/genesis-layout-options-for-custom-post-types.htm/

    Looks like it may be as simple as adding this to your child functions.php file:

    add_post_type_support( ‘your_custom_post_type’, ‘genesis-layouts’ );
    

    Except change your_custom_post_type to be whatever post type you need them added to, and repeat for any others.

    Thread Starter Tesacu

    (@teresaezc)

    Hi, Michael!

    Thanks for your quick answear.

    The point is that you have to do something like that not only for a theme, but for every builder you use in your site also (Elementor, Gutentor…). And it can’t be done using CPT UI directly, you have to go to your functions.php everytime.

    I’ve done it, and it works. But it could be great to have a setting for that at CPT UI or a possibility to add that there the code directly.

    Elementor has its own setting to do it (just one click), but Gutentor, for example, needs some code also (as you can see here: https://ww.wp.xz.cn/support/topic/full-with-layout-doesnt-work-for-cpts/).

    Thanks for all, Michael 🙂

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

The topic ‘Page Attributes missing’ is closed to new replies.