Need CSS help for excluding posts of a given category
-
I don’t want posts from a chosen category show up on Homepage. Only if I make it a sticky post, I want it to show up on Homepage. Please help.
The blog I need help with is lexingtonsaysenough.com.
The blog I need help with is: (visible only to logged in users)
-
Hi there,
This cannot be done using CSS. To target posts from a particular category using CSS, those posts will all have to have a class defined in the HTML for the category, and as your theme does not show categories on the front page at all, there’s also no HTML classes for post categories for the posts on your site’s front page.
You can try looking at https://wordpress.org/plugins/ if there’s an existing plugin that allows you to do this, but otherwise this is simply not how the WordPress software is designed to work. All posts published on a site will always appear on the front page, and there’s no way to prevent that.
Also note that your Business Plan gives you access to 24/7 live chat and priority email support via https://wordpress.com/help/contact
. Please don’t post here in the forums for free sites for help, as our volunteers here do not have access to the tools needed to support the more advanced features of your site.
- The topic ‘Need CSS help for excluding posts of a given category’ is closed to new replies.