WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] wp query tags does not return anything

[Resolved] wp query tags does not return anything

  • this:

    $wp_query = new WP_Query();
    	$wp_query->set('tag', 'issue');
    	$wp_query->set('posts_per_page', 30);
    	$wp_query->set('offset', $paged*30);
    	$posts = $wp_query->get_posts();
    	if ($posts) : foreach ($posts as $post) : the_post();

    does not return anything.. hmmm ?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] wp query tags does not return anything’ is closed to new replies.
Skip to toolbar