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

    I have a CPT with 10,000+ posts. I have created a new Custom Layout using ALB. How do I make it so my custom post types display using the new custom layout? I realize I can edit a post and manually specify the custom layout, but that isn’t feasible for the thousands of posts I have. Can I do it by copying single.php and specifying something? Or is there some other way?

    Alternately, is there a way to make my new custom layout the default for all new posts going forward so I don’t have to manually set it?

    #1472095

    Hey entica,

    Thank you for the inquiry.

    You cannot assign a custom layout globally to a single custom post type. You must edit each post individually, manually add the Custom Layout element, and select the desired template. Unfortunately, there is no built-in option to assign it globally.

    It might be possible to achieve this by editing the template file and adding the shortcode for the Custom Layout element directly but we cannot guarantee that this will work as the element is designed to be used specifically within the builder.

    echo do_shortcode("[av_custom_layout link='page' av_uid='' sc_version='1.0']");
    

    Best regards,
    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.