WP Query with current tags
-
Hi,
I try to make a plugin in a post, wich take the tags of this post but I can’t do..
can you help me ?
Here’s my wp query :
<?php $recent_posts = new WP_Query(array( 'cat' => '16,21', 'tag' => get_the_tags($post->ID), 'showposts' => 6 )); ?>
Thank’s !
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘WP Query with current tags’ is closed to new replies.