WordPress.org

Support

Support » How-To and Troubleshooting » show posts from some tags in one tag page

show posts from some tags in one tag page

  • hi,

    i want show posts from some tags in one tag page!

    for example i want show posts from tags: t1, t2, t3, t4 in page tag t1 like this: localhost/?tag=t1

    i did this with this query:

    query_posts(array('post_type'=>'post','paged'=>$paged,'posts_per_page'=>1,'tag'=>'t1,t2,t3,t4'));

    for example t1 has 2 posts, but sum t1,t2,t3,t4 more 2 posts and when i go to page 3 i see 404 error page!!! 🙁

    please help me

  • The topic ‘show posts from some tags in one tag page’ is closed to new replies.
Skip to toolbar