WordPress.org

Ready to get started?Download WordPress

Forums

tag.php paged 404 error (2 posts)

  1. Ali Irani
    Member
    Posted 2 years ago #

    hi,

    i want retrive two type tags in tag.php and i did by this code
    query_posts(array('post_type'=>'post','paged'=>$paged,'posts_per_page'=>1));
    but if my url this localhost/?tag=test1 and i want test1 and test2.
    and number of test1 3 and test2 4 and sum = 7. when i go to page 4 and up i gave 404 error!!

    i hope understand my problem and help me :)
    tnx

  2. Ali Irani
    Member
    Posted 2 years ago #

    this code:
    query_posts(array('post_type'=>'post','paged'=>$paged,'posts_per_page'=>1,'post__in'=>array(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,1);

    nobody help me?? :(

Topic Closed

This topic has been closed to new replies.

About this Topic