Using a search filter plugin. I am using to get the total number of posts that exist in the database


However, when a user filters the results on the page, this number changes according to how many posts are shown on the filter.

How could I get the static total number of posts which wouldn’t change irrespective of what the user filters?

Read more here: Query total number of posts


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: