Can I exclude a post by meta key using pre_get_posts function?

Posted by Prem Tiwari | Updated on

Change the posts_per_page to how many you want to exclude, and the meta_query to how you are designating the featured category.

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