WordPress.org

Ready to get started?Download WordPress

Forums

PHP Query in Classipress Theme - SIMPLE PROBLEM! (1 post)

  1. robototitico
    Member
    Posted 3 years ago #

    I am uing the following query to show only one post per page in the "blog" category of my classipress themed wordperss site -

    <?php global $query_string; ?>
                    <?php query_posts( $query_string . '&posts_per_page=1' ); ?>

    This causes the following problem however - http://www.farmads.ie/new/category/farm-videos/page/49/
    It shows Page 49 of 7. It is calculating the number of pages based on what I have the classipress settings set to.

    Below is the piece of code that sets the pagination function. How can I include some of it in my query in order to overcome this problem?

    [Code moderated as per the Forum Rules. Please use the pastebin]

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.