[Plugin: CPT-onomies: Using Custom Post Types as Taxonomies] Two diferents db request to same query
-
I have one query to request a list of posts but WordPress make diferents databases requests for diferents custom taxonomy.
The query is simple:
$new_query = new WP_Query( array (‘post_type’=>’linha’, ‘posts_per_page’=>-1, ‘colecao’=>$colecao, ‘orderby’=>’title’, ‘order’=>’ASC’, ‘paged’ => get_query_var(‘paged’)) );
With $colecao = monoporosa https://pastebin.com/cXsK1QbD
With $colecao = naturale https://pastebin.com/XdehM9sw
“colecao” and “linha” are cpt-onomies.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘[Plugin: CPT-onomies: Using Custom Post Types as Taxonomies] Two diferents db request to same query’ is closed to new replies.