Skip to content

Instantly share code, notes, and snippets.

@stphnlee
Created January 20, 2014 02:07
Show Gist options
  • Save stphnlee/8513765 to your computer and use it in GitHub Desktop.
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…
<?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