CSS WP.blogspot.com

Add Sticky Posts for Classes in WordPress

 Add Sticky Posts for Classes in WordPress

Sticky posts let you add featured posts in WordPress and show them in another way in your web site’s homepage. Not too long ago one in every of our customers requested us how they will add sticky posts in class pages. By including sticky posts on category pages you possibly can show featured posts from that specific class. On this article, you're going to get to learn to add sticky posts for classes in WordPress.

A sticky post on a category page

Very first thing that you must do is set up and activate Category Sticky Post. There aren't any particular settings web page for the plugin. Merely create a brand new publish or edit an present one, and it is possible for you to to see a brand new ‘Class Sticky’ meta field within the publish edit space.

Making a post sticky in a category

Subsequent, merely select the class the place you need this publish to be displayed as a sticky publish and save your adjustments.

If you wish to set one other sticky publish in that class, then you'll have to uncheck class from the sooner sticky publish. It isn't required for a publish to be filed in the identical class. For instance a publish filed in Bulletins class, might be made sticky within the Information class.

Every class can solely have one sticky publish at a given time. Additionally every publish can solely be sticky for one class.

By default the plugin provides a black border on high and backside of the class sticky publish to differentiate it from different posts. You'll be able to disable it by checking the Cover Sticky Publish Border checkbox. When this field isn't checked the plugin provides a category-sticky class to the class sticky publish. You'll be able to override this in your youngster theme’s stylesheet.

.category-sticky  

We hope this text helped you add sticky posts to your WordPress classes. For questions and suggestions you possibly can go away us a remark or be part of us on Twitter.

WordPress Plugins