i need to limit the number of posts on a specific category and if a new post is created and placed this category, but the number of maximum posts is reached, then the older one automatically been removed from that category.

Is that something possible that can happen in a plugin? If so, anyone that can help?

1 Answer 1


It seems like you could achieve this by just setting the "Blog pages show at most" setting from the dashboard: Settings -> Reading options.

Alternatively, you could create a custom template for the specific category in question and then set the posts per page equal to however many posts you want to display and order by settings to descending from there. Which would automatically display the most recent most post at the top.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.