January 3, 2013 at 10:47 pm #9389
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()
'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/
TygrScott on Social MediaJanuary 14, 2013 at 11:50 pm #12009
wpsmithModeratorJanuary 15, 2013 at 10:40 am #12069
Thank you wpsmith, I appreciate that.
TygrScott on Social MediaJanuary 18, 2013 at 3:06 am #12816
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
What ever came of this wpsmith?
TygrScott on Social MediaMay 1, 2013 at 2:09 pm #38819
Jami Howard MaysParticipant
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
You must be logged in to reply to this topic.