Category site shouldn’t show ALL sticky posts (also from other categories)

[ad_1]

Unfortunately this is how sticky posts in WordPress core works, and we’re leveraging the standard WordPress query (WP_Query) to generate our listings.

You can disable sticky posts using:


[display-posts ignore_sticky_posts="true"]

WordPress doesn’t have a method of filtering the sticky posts to only those in the current category. It stores a list of all sticky posts and prepends that to the start of all queries.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer