• 0
Sign in to follow this  
Followers 0

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

Question

Posted · Report post

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

2 answers to this question

  • 0

Posted · Report post

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.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Awesome, thank you Danny.

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  
Followers 0