• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

"Swap" Primary Sidebar for a Simple Sidebar on Custom Post

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › "Swap" Primary Sidebar for a Simple Sidebar on Custom Post

This topic is: resolved

Tagged: sidebars

  • This topic has 3 replies, 2 voices, and was last updated 7 years, 7 months ago by Christoph.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • July 23, 2015 at 1:41 pm #160230
    dnpproductions
    Member

    I'm using the Community child theme and the Views/Types plugins. Types does not allow the selection of a sidebar or layout, and I do not want to use the primary sidebar on my custom post type. I would like to "swap" the primary sidebar for another sidebar I've created with Simple Sidebars. I have managed to remove the primary sidebar by placing this in 'single-product.php' that I created in the child theme directory:

    unregister_sidebar( 'sidebar' );

    I cannot seem to add the 'products-sidebar' in its place. I'm working on a local installation of the site, so I cannot provide a URL...

    Thanks!

    July 27, 2015 at 6:36 pm #160640
    Christoph
    Member

    Hi,

    I´m usually doing something like this:
    http://www.carriedils.com/sidebar-custom-post-type/


    https://www.christophherr.com | Genesis Customizations | Buy me a coffee

    July 28, 2015 at 9:46 am #160754
    dnpproductions
    Member

    That's exactly what I needed! Thank you!

    July 28, 2015 at 10:06 am #160762
    Christoph
    Member

    You are welcome.

    Could you please mark the topic as resolved so it can be closed?

    Thanks.


    https://www.christophherr.com | Genesis Customizations | Buy me a coffee

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble