![Genesis Theme Framework Code Snippets](https://purelysupp.com/wordpress/wp-content/uploads/sites/2/2022/09/Genesis-Code-Snippets.jpg)
Add the following code to your theme’s function.php file, or a functionality plugin to apply Genesis Hooks to Custom Post Types.
/** Custom Post Type Adjustments **/
add_action( 'genesis_before', 'sent_conditional_actions' );
function sent_conditional_actions() {
if( is_archive() && 'Your-Custom-Post-Type' == get_post_type() ) {
//put your actions below here
//put your actions above here
}
}
Share Your Two Cents