Skip to content

Instantly share code, notes, and snippets.

@cdils
Last active November 26, 2018 00:13
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cdils/9162910 to your computer and use it in GitHub Desktop.
Save cdils/9162910 to your computer and use it in GitHub Desktop.
Use the Genesis Simple Sidebars plugin with a custom post type with the name 'wap-community'.
<?php //remove this line
// Add support for Genesis Simple Sidebars to Community post type
add_post_type_support( 'wap-community', 'genesis-simple-sidebars' );
@papabear53
Copy link

Trying to make sure I understand. I am trying to add a post type called "book". Would it look like the following?

// Add support for Genesis Simple Sidebars to Book post type
add_post_type_support( 'wap-book', 'genesis-simple-sidebars' );

@braddalton
Copy link

@papabear53 No it would be :

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

Github users do not receive comment notifications.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment