custome post type question

Homepage Community Forums Adapt Theme Support custome post type question

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1695
    sublimity
    Customer

      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

      #1696
      Wes
      Moderator

        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.

        #1711
        sublimity
        Customer

          Thanks!

          #1712
          Wes
          Moderator

            You’re Welcome!

          Viewing 4 posts - 1 through 4 (of 4 total)
          • The topic ‘custome post type question’ is closed to new replies.