Jump to content


Photo
- - - - -

How to hide category, author etc. in custom post type


  • Please log in to reply
2 replies to this topic

#1 knubbl

knubbl

    Member

  • Members
  • 19 posts
  • Country: Country Flag

Posted 30 September 2011 - 04:15 AM

Hi, I looked through all of the explanations and just wanted to find a quick solution to my problem. I want to actually hide the category and author on a custom post type called "quote", since with quotes you wouldn't want to display that kind of information. How can I easily do it without destroying the whole layout!? Thanks

#2 Danny

Danny

    Is Awesome!

  • Moderators
  • 16923 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 30 September 2011 - 07:17 AM

Hi,

Add this to your CSS Rules located in Platform Settings --> Custom Code:

Please Login or Register to see this Hidden Content


Where X is in the code above, you need to replace with your custom post types name, as an example, if you had a custom post type called "football" and I wanted to hide the author, category ect. for that custom post type, my code would look like this:

Please Login or Register to see this Hidden Content


Hope that helps.

#3 knubbl

knubbl

    Member

  • Members
  • 19 posts
  • Country: Country Flag

Posted 01 October 2011 - 08:28 PM

Awesome, thank you Danny.