how to develop a filter in WordPress to let the user sort the page content depends on (alphabetically, newest to oldest and oldest to newest etc...)?

I’d like another drop down tab on the left side of the page that users can select videos by genre, is there a plugin doing this functions or is there a source I can learn doing this functions from?

1 Answer 1


I would recommend looking at FacetWP plugin, which is a paid plugin, but it does all of this and more:


If you want to manually do this, there's numerous ways based on what specifically you're referring to (blog posts? custom post types?): Sort posts by Date (DESC) and by Title (ASC)

WordPress also has native widgets like categories and others that will do most of this for you.

Your Answer

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

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