WordPress.org

Ready to get started?Download WordPress

Forums

Display posts from some tags in specific tag page and 404 error (1 post)

  1. Ali Irani
    Member
    Posted 1 year ago #

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

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

    i did 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!!! :(

    sorry for my bad English :)

Topic Closed

This topic has been closed to new replies.

About this Topic