[Resolved] Layout element not working for custom post type

Home Forums Support Layout element not working for custom post type

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1516944
    George

    I have a custom post type that has been created through a plugin and I am applying a Layout Element to show the right sidebar on all single posts. I have set the conditions to display to all single posts of that custom post type but for some reason, the layout is not being applied. It still shows the full-width layout with no sidebars as being applied from the Customizer.

    What could be preventing it?

    #1517015
    Leo
    Staff
    Customer Support

    Hi George,

    Do you happen to have another Layout Element that might be conflicting?

    #1517418
    George

    No, I only have two header elements, Leo. I deactivated them temporarily, still same issue.

    #1517489
    David
    Staff
    Customer Support

    Hi there,

    what specific Display Rules are you using ?

    #1517496
    George

    Knowledge Base Article -> All Knowledge Base

    Could it be the specific custom post type is missing something?

    #1517501
    David
    Staff
    Customer Support

    What happens if you set the Sidebar to display site wide ?
    Try via the Customizer and via the Elements > Entire Site.

    #1518353
    George

    Customizer sitewide:
    The sidebar displays everywhere apart from the CPT archive and its single posts

    Sidebar sitewide from the Layout element (with Customizer sidebar both activated and deactivated):
    Same behavior

    #1518356
    George

    Ok, I think the plugin has a sidebar functionality that overrides the Elements. I will play around with it and come back or close the ticket!

    #1518399
    George

    …and sorted.

    Thanks!

    #1518613
    David
    Staff
    Customer Support
Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.