Skip to content

Instantly share code, notes, and snippets.

@billerickson billerickson/functions.php Secret
Last active Dec 17, 2018

Embed
What would you like to do?
<?php
/**
* Add Genesis CPT Archive Settings to events
* @see https://www.billerickson.net/genesis-archive-settings-for-custom-post-types/
*
*/
function be_event_archive_settings() {
add_post_type_support( 'event', 'genesis-cpt-archives-settings' );
}
add_action( 'init', 'be_event_archive_settings' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.