Grow your CSS skills. Land your dream job.

WordPress – pagination

  • # November 15, 2010 at 3:31 pm

    Can anyone else help? Loads of people have done this in their themes, but i can’t find an answer for this problem anywhere..

    # November 15, 2010 at 10:14 pm

    okay, I don’t know why I didn’t think of this earlier, but chris made a tut that will most likely help you figure this out

    http://css-tricks.com/video-screencasts/91-the-wordpress-loop/

    # November 16, 2010 at 11:23 am

    Thanks, i sorted it out after changing the part you pointed out to something TheDoc posted and it is working now finally. Thanks for your help.

    # November 16, 2010 at 11:59 am

    Glad to hear it, Luke.

    It really is way more complicated than it should be. But WordPress is still growing into a functioning CMS, I’m sure things like this will get taken care of eventually.

    # November 16, 2010 at 1:23 pm

    what was the problem? Post the sollution for others in the future

    # November 16, 2010 at 3:19 pm

    I changed the part you pointed out to:

    < ?php if (have_posts()) : ?>
    < ?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts("category_name=somecat&paged=$paged"); ?>
    < ?php while (have_posts()) : the_post(); ?>
Viewing 6 posts - 16 through 21 (of 21 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".