• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Appfinite

Appfinite

Premium WordPress Themes for The Genesis Framework

  • Themes
  • Blog
  • Tutorials and Resources
  • Forums
  • Contact Us

custome post type question

Home › Community Forums › Adapt Theme Support › custome post type question

Tagged: adapt, custom post type

  • This topic has 3 replies, 2 voices, and was last updated 9 years, 9 months ago by Wes.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • October 24, 2012 at 2:14 am #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

    October 24, 2012 at 2:24 am #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.

    October 29, 2012 at 11:29 pm #1711
    sublimity
    Customer

    Thanks!

    October 29, 2012 at 11:30 pm #1712
    Wes
    Moderator

    You’re Welcome!

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

Primary Sidebar

Search Forums

Affiliate Program

Looking to earn some money? Join our Affiliate program and earn 35% of every sale you refer. Top referrers earn 40-50%.

Join Now →

The Genesis Framework

All of our themes are designed for the Genesis Framework. You will need to purchase Genesis in order to use any of our themes.

Purchase Genesis

Hire a Web Developer

Need help setting up or customizing your website?

Contact Us →

Search Full Site

  • Buy Genesis!
  • Shopping Cart
  • Themes
  • My Account
  • Support Forums
  • Tutorials and Resources
  • Privacy Policy
  • Contact Us
  • Follow Us on Twitter

Copyright © 2022 · Appfinite · Built With The Genesis Framework