Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End wordpress wp_simple_pagination Problem

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #162915
    zahidahmad9
    Participant

    Its my website

    http://www.smartphoneworld.me

    and here is my loop

    <?php query_posts('posts_per_page=3&cat=36'); ?>
    <?php if (have_posts()) : while(have_posts()) : the_post(); ?>
    <?php get_template_part('content', get_post_format()); ?>
    <?php endwhile; else : ?>
    <?php wp_reset_query(); ?> 
    <article id="post-<?php the_ID(); ?>" <?php post_class('no-posts'); ?>>
    <h1><?php _e('No posts were found.','adaptive-framework'); ?></h1>
    </article>
    <?php endif; ?>
    
    <div class="article-nav clearfix">
    <p><?php if(function_exists('wp_simple_pagination')) {wp_simple_pagination();} ?></p>
    

    My problem is when i write

    <?php query_posts('posts_per_page=3&cat=36'); ?>
    so pagination not working properly Speacially when click on 2nd page .

    Please help me i am waiting for your reply

    Thanks

    #162922
    TheDoc
    Member
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Back End’ is closed to new topics and replies.