- This topic has 3 replies, 2 voices, and was last updated 10 years, 7 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The topic ‘custome post type question’ is closed to new replies.
Home › Community Forums › Adapt Theme Support › custome post type question
Tagged: adapt, custom post type
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
Not sure on this. I don’t have much experience with Custom Post Types YET, since I haven’t had the need to use them. So I’d be the wrong person to ask at the moment until I get up to speed. I did a simple search in the SP forums and found this link – http://www.studiopress.com/support/showthread.php?t=102166&highlight=remove+post+info+custom+types …..I’m sure there are more tutorials you could search in the SP forums, and through Google if that link doesn’t help.
Thanks!
You’re Welcome!