Running multiple WP_Query
Your problem is here: foreach ($wqPort as $projeto) $wqPort is an object of type WP_Query, not an array. If you look at your PHP error log, you should be seeing warnings and notices for those lines Instead, use a standard post loop: $q = new WP_Query( [ .. args here … ] ); if ( … Read more