-
-
Save billerickson/093fe4165a5f184547a20d3ddfc1f431 to your computer and use it in GitHub Desktop.
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 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