I want to remove the post content on post with a certain custom post type. I’m using this code:
if (is_singular(‘profiles’)) {
remove_action( ‘genesis_before_post_content’, ‘genesis_post_info’ );
}
It works without the conditional. That’s the name of the custom post type.
I do not know why that is not working…..
Some assistance would be great!
Thank you