Jump to content
Sign in to follow this  
kirmok

Hide features on posts listed by category?

Recommended Posts

kirmok

Hello. I'm planning to use your Features on my basic posts-page (and landing page), although i would not like to show those anymore on a certain article page which is made up using list of one specific category. Can you tell any tips, how to block features that are visible there or how to build up a new template for that category-list-view? (i have not much php-skills..) (construction area: http://tst.kangastus.org/ and http://tst.kangastus.org/category/artikkelit/ ) tnx. kirmo.

Share this post


Link to post
Share on other sites
peterluit
http://tst.kangastus.org/category/artikkelit/ is not a page by itself and cannot be handled by the basic settings in PFPro. I am sure it can be handled by PHP and/or CSS, but to 'hard code' a 'category filter' is in my opinion not the way to go. But it can be done! You could consider a multisite WordPress setup, where you can make separate blogs for separate categories of posts. That gives you even more flexibility.

Share this post


Link to post
Share on other sites
Kate

Hi Kirmo - Since pages have unique classes, you can use that to pinpoint the feature section on the page, and hide it via CSS. Have you tried out Firebug?

Share this post


Link to post
Share on other sites
kirmok

Thanks folks!!! Solution was found via CSS: .category #feature { display: none; } kirmo.

Share this post


Link to post
Share on other sites
genuine5

Hello Kate, When you all say "hide it via CSS". What is the correct name of the css file? do I copy and paste code or am I changing something. Please help when you get the chance.

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  

×