Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi – I am currently developing a site with Genesis + Dynamik Builder Child theme.

    I would also like to be able to use Genesis Simple Sidebars on CPTs.

    To the OP, if we can’t get this to work, Content Aware Sidebars does work with CPTs.

    Thanks.

    Add this to your custom functions or functions file – change ‘my-cpt’ to the name of your custom post type. This will add the simple sidebar selection box for every post with that slug.

    add_post_type_support( 'my-cpt', 'genesis-simple-sidebars' );

    Additionally, If you want to add a simple sidebar to a whole archive or all of the CPT posts automatically (without selecting manually on each post) use the code posted on the link below and edit to suit. This can add the sidebar to category archives , tags , all single posts etc. Just create the sidebar first in simple sidebars and add the ID name to the code where indicated.

    https://gist.github.com/nciske/6e2cc398f270d34207d5

    The code shown on the link would go in your custom functions or functions file.

    Thanks andy0829 ??

    I will have a look at your gist and implement.

    Thanks for this. Worked perfectly.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Genesis Simple Sidebars with Custom Post Types?’ is closed to new replies.