Jump to content
Sign in to follow this  
knubbl

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

Recommended Posts

knubbl    0
knubbl

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

Share this post


Link to post
Share on other sites
Danny    1,327
Danny
Hi, Add this to your CSS Rules located in Platform Settings --> Custom Code: [code] .single-X .metabar { display: none; } [/code] 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: [code] .single-football .metabar { display: none; } [/code] Hope that helps.

Please search our forums, before posting!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×