wordpress nested loop
Do I see that right, that you are doing a WP_Query for every single post, you want to retrieve? That is highly inefficient, you can use the post__in argument supplied by WP_Query. (http://codex.wordpress.org/Class_Reference/WP_Query#Post_.26_Page_Parameters) foreach ( $urls as $url ) { //echo $url[“mymeta_url”]; foreach ( $url[‘mymeta_slider’] as $u ) { //echo “$u<br> “; shows post id … Read more