• 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 and Custom Post Types Archives Plugins Conflict?

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 and Custom Post Types Archives Plugins Conflict?

This topic is: not resolved

Tagged: CPT Archives, Genesis Custom Post Types Archives, simple sidebars

  • This topic has 5 replies, 4 voices, and was last updated 12 years, 1 month ago by Jami Howard Mays.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • January 3, 2013 at 10:47 pm #9389
    Scott Buehler
    Member

    If I use both "Genesis Custom Post Types Archives" and "Genesis Simple Sidebars" together, I'm getting a conflict.

    I'm using Simple Sidebars on a Custom Post Type created in functions.php

    /** Register hosts custom post type */
    add_action( 'init', function()
    {
    register_post_type( 'hosts',
    array(
    'labels' => array(
    'name' => __( 'Hosts' ),
    'singular_name' => __( 'Host' ),
    'add_new' => _x( 'Add New Host', 'Host' ),
    'add_new_item' => __( 'Add New Host' ),
    'edit_item' => __( 'Edit Host' )
    ),
    'public' => true,
    'has_archive' => true,
    'hierarchical' => false,
    'capability_type' => 'post',
    'supports' => array('title','editor','thumbnail','excerpt','author','comments','page-attributes','genesis-seo','revisions')
    )
    );
    });

    I also have this in functions.php to add support with the CPT and Simple Sidebars

    /** Add support for custom post types with Genesis Simple Sidebars */
    add_post_type_support( 'hosts', 'genesis-simple-sidebars' );
    add_post_type_support( 'hosts', 'genesis-simple-menus' );
    add_post_type_support( 'hosts', 'genesis-layouts' );

    If I disable "Genesis Custom Post Types Archives" then the sidebar appears and works under a post under the 'Hosts' CPT. If I enable this plugin, I get the default sidebar that appears sitewide.

    Have I made a mistake somewhere or is this a bug? I'm running CPTs Archives disabled at the moment which shows it working when enabled under the edit post: http://www.webhostingchoose.com/hosts/inmotion-hosting-review/

    Thank you.


    TygrScott on Social Media

    January 14, 2013 at 11:50 pm #12009
    wpsmith
    Member

    I will look into this issue this week.


    Travis Smith | Recommended StudioPress Developer & Contributor
    WP Smith | @wp_smith | GitHub

    Due to the forums, please paste code using Pastebin, JS Fiddle (for JavaScript) or GitHub.
    How to use Firebug for Designers by SixRevisions

    January 15, 2013 at 10:40 am #12069
    Scott Buehler
    Member

    Thank you wpsmith, I appreciate that.


    TygrScott on Social Media

    January 18, 2013 at 3:06 am #12816
    Bing Crosby
    Member

    This is causing problems for me as well, having to use only the regular sidebars and Widget Logic, which is a pain. I usually use a combination of both.

    I second the thanks for getting on this, appreciate it!

    February 20, 2013 at 10:49 pm #21872
    Scott Buehler
    Member

    What ever came of this wpsmith?


    TygrScott on Social Media

    May 1, 2013 at 2:09 pm #38819
    Jami Howard Mays
    Member

    I emailed Travis about this today also as I'm having a similar issue. We've loaded simple sidebars on my client's pages and none of those sidebars appear on those pages (instead, the primary sidebar) as long as the Genesis CPT Archive plugin is running.


    Jami Howard Mays, HBIC, Imaj Works | Athens, Georgia

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 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

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