Remove some pages from search

Posted by Prem Tiwari | Updated on

You would create a new WP_Query inside of your search.php and use the current $query_args, then add on your ‘post__not_in‘.

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@] Your question and answer will appear on and help other developers.

Related Questions & Answers