Viewing 1 item
Tag Archives: query

Modifying queries with pre_get_posts

Written by Remi Corson. you can for example query only posts from a specific type and with a custom meta field key equal to a determined value. In the code below, we are targeting only custom post type called “portfolio” where meta key “project_type” is set to “design”, that’s a typical query that can be  Full Article…

0