Support » Fixing WordPress » Wp_query Page Navigation

  • Resolved sickopathologist


    Hi all,

    a page created in this way ..

    it works perfectly.

    but attaching the page navigation does not work!

    I can not switch to other pages.

    listed a total of 7000 article. I can not pass beyond the first 150 article.

    (If we solve the problem of the navigation page, the site map is a great way to!)

    /* template name: Posts by Category! */
    <div class="entry" ?>
    <?php query_posts('showposts=150&orderby=title&order=ASC&cat=1'); ?>
    <?php while (have_posts()) : the_post(); ?>
    <li><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></li>
    <?php endwhile; ?>
    <?php get_sidebar(); ?>
    <!-- The main column ends  -->
    <?php get_footer(); ?>
Viewing 1 replies (of 1 total)
  • hello,

    i solved my problem.

    i’m searching other source


    i added this code;

    <?php query_posts('showposts=150&orderby=title&order=ASC&cat=1&posts_per_page=30'.'&paged='.$paged); ?>

    work perfectly!

Viewing 1 replies (of 1 total)
  • The topic ‘Wp_query Page Navigation’ is closed to new replies.