Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #993009

    I’m using the Custom Post Type UI plugin. I have created multiple custom post types and taxonomies. I found the piece of code from the documentation that allows the Advanced Layout Builder to work with custom post types. However, it only works with one post type entered. I tried comma separated slugs, but that didn’t work. What else should I try?

    Thanks!

    #993053

    I figured out the correct solution. Instead of a comma separated list, I used this format:

    $meta['page'][] = 'custom_post_type_1'; /
    $meta['page'][] = 'custom_post_type_2'; /
    $meta['page'][] = 'custom_post_type_3'; /

    It’s working now.

    • This reply was modified 6 years, 4 months ago by MediaMix1.
    #993126

    Hi,

    Great, glad you got it working and thanks for sharing your solution :-)

    Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

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