Created
January 20, 2014 02:07
-
-
Save stphnlee/8513765 to your computer and use it in GitHub Desktop.
Genesis 2.0 has special archiving support for custom post types, but it has to be set in the custom post type's settings like this: 'supports' => array( 'genesis-cpt-archives-settings' ) If you're using a plugin such as WPMU's CustomPress, there may not be a setting in the plugin to add custom support values, but you can add them with the add_po…
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Add this to your functions.php file after the custom post type has been declared. | |
// Replace $post_type below with the post type system name of your custom post type | |
add_post_type_support( $post_type, 'genesis-cpt-archives-settings' ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment