[Resolved] Hiding sidebars for custom post types

Home Forums Support [Resolved] Hiding sidebars for custom post types

Home Forums Support Hiding sidebars for custom post types

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1601350
    ch1800

    Happy New Year and best wishes to all!

    I’m working on a project that is using a custom post type for a product catalog.
    I have enabled right side sidebar for standard posts but don’t want to get those widgets for the CPTS at all.

    They are currently displaying at bottom of page of those CPTs instead of the right sidebar for some reason but would like to hide them completely as they are not relevant here.

    Thanks.

    #1601498
    David
    Staff
    Customer Support

    Hi there,

    you can use a Layout Element to disable the sidebars:

    https://docs.generatepress.com/article/layout-element-overview/

    You should see your custom Post Type (single) and its Post Type Archive in the display rules.

    #1601548
    ch1800

    Nice, didn’t think about this option.
    Works fine, with thanks!

    #1601735
    David
    Staff
    Customer Support

    Glad to hear that!

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