• 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

simple sidebars for multiple CPT's?

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 › General Discussion › simple sidebars for multiple CPT's?

This topic is: not resolved
  • This topic has 3 replies, 2 voices, and was last updated 11 years, 2 months ago by David Chu.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • March 26, 2015 at 9:36 am #145722
    design_agency
    Member

    hi all–

    i have two custom post types that i'd like to assign simple sidebars to. so far, i've found this code

    add_post_type_support( 'custom', 'genesis-simple-sidebars' );

    which allows me to register a single CPT, but when i add a second i get the blank screen of death. anyone out there know how i can get the simple sidebar selectors to show up on both of my CPT edit screens?

    many thanks!
    emily

    March 27, 2015 at 8:23 am #145819
    David Chu
    Participant

    Hi again Emily!
    I think you're very close. If I'm following you, maybe you were trying to do both Post Types in one command? If you run the command twice, once with each Post Type, that should sail right through.

    add_post_type_support( 'cake', 'genesis-simple-sidebars' );
    add_post_type_support( 'ice_cream', 'genesis-simple-sidebars' );

    Cheers, Dave


    Dave Chu · Custom WordPress Developer – likes collaborating with Designers

    April 6, 2015 at 11:47 am #146832
    design_agency
    Member

    hay david–

    boy do i feel silly! what a simple solution... and it works like a charm.

    thanks so much,
    emily

    April 6, 2015 at 12:33 pm #146837
    David Chu
    Participant

    Hi Emily!
    You're welcome. Not silly at all... many commands do allow multiple parameters.

    Dirty little secret - I actually use several sidebar customizing plugins - different ones do different (or more) things. 🙂 I've had clients, though, who want things so customized that I've written custom code for each bit!

    Nice to see you again!
    Dave


    Dave Chu · Custom WordPress Developer – likes collaborating with Designers

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘General Discussion’ 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

© 2026 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