• Resolved hungzai

    (@hungzai)


    I’m not sure am i expecting too much. And I’m not sure whether did a plugin exist to facilitate this function.

    In one of my categories i have something like 300 posts in it. Obviously when i list the posts, it’s gonna drag the page to forever.

    What i want to do is to limit a page to 50 post’s titles and then there would be 6 pages for 300 titles.

    Sound like a simple thing and yet difficult to implement.

    Can it ever be done? If so, how? Inviting those who had been there done that to enlighten pls!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter hungzai

    (@hungzai)

    BTW, to add, i am using the below mentioned to list the post titles. And i’m doing that on a page because i want my users to expose to all the titles, only thing is it’s dragging the page too long and i’m just wondering can it be split into several pages with any code or plugin?

    < ?php $recent = new WP_Query(“cat=ID&showposts=300”); while($recent->have_posts()) : $recent->the_post();?>

    Thread Starter hungzai

    (@hungzai)

    Here’s the answer if anyone is interested

    <? php query_posts(‘cat=12’); ?>
    <div class=”column-1″>
    <?php while (have_posts()) : the_post(); ?>
    <?php if( $post == $posts[10] ) : ?>
    </div><div class=”column-2″>
    <?php endif; ?>
    <span class=”listings”>” title=”Permanent link to <?php the_title(); ?>”><?php the_title(); ?></span>
    <?php endwhile;?>
    </div>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Separate list of posts into different pages’ is closed to new replies.