pagination not working

  • Unknown's avatar

    Can someone help me?.. my wordpress pagination is not working here’s the site

    http://hotasianmodels.net/

    here’s the code.. i also use wp-paginate plugin

    <?php $paged = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1;
    query_posts(‘category_name=Homepage Models&posts_per_page=4&paged=’ . $paged); if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>

    <div <?php post_class() ?> id=”post-<?php the_ID(); ?>”>
    <h2 class=”title”>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”><?php the_title(); ?></h2>
    <div class=”postdate”><img src=”<?php bloginfo(‘template_url’); ?>/images/date.png” /> <?php the_time(‘F jS, Y’) ?> <img src=”<?php bloginfo(‘template_url’); ?>/images/user.png” /> <?php the_author() ?> <?php if (current_user_can(‘edit_post’, $post->ID)) { ?> <img src=”<?php bloginfo(‘template_url’); ?>/images/edit.png” /> <?php edit_post_link(‘Edit’, ”, ”); } ?></div>

    <div class=”entry”>

    <?php the_content(”); ?>
    <div class=”readmorecontent”>
    ” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”>Click for Gallery »
    </div>
    </div>
    </div><!–/post-<?php the_ID(); ?>–>

    <?php endwhile; ?>
    <div class=”navigation”>
    <?php if(function_exists(‘wp_pagenavi’)) { wp_pagenavi(); } else { ?>
    <div class=”alignright”></div>
    <div class=”alignleft”><?php if(function_exists(‘wp_paginate’)) {
    wp_paginate();
    } ?>
    </div>

  • Unknown's avatar

    You did not specify a blog address or reason for posting when you created this topic.

    This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.

    If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.

    If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.

    This is an automated message.

  • The topic ‘pagination not working’ is closed to new replies.