I am trying to hack the default categories widget from wordpress. I have the categories displaying the number of posts in each post which is not what I want, i want it to displays the number of revelant post that match my keywords in the search bar. I don’t know how to do it.

Read more here: customizing my categories widget in wordpress to allow related search record.


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: