• Resolved tecnosh

    (@tecnosh)


    hello guys.

    I have a theme that seems to not make any paging, already try the standard navigation links “previous” and “next” but i always get the homepage.

    tecnosh.com/page/2 or tecnosh.com/page/3 its always the same page.

    My main loop is :

    <?php get_header(); ?>
    <div id=”content” class=”container”>
    <div id=”front” class=”column_main”>

    <?php query_posts(‘showposts=8’); ?>
    <?php while (have_posts()) : the_post(); ?>

    I had read alot of question like this but no one worked out on my theme. Already check the archive and archives pages but everything seems ok. Can someone tell me how i get this working? Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Check the appropriate php files to make sure those particular calls are not commented out and are available in that theme. If they are – uncomment them – or add them if necessary.

    Thread Starter tecnosh

    (@tecnosh)

    hey Saurus thanks for you reply.

    Hm, i have this on archives.php

    <?php get_header(); ?>
    <div id=”content” class=”container”>
    <div id=”front” class=”column_main”>
    <div class=”category_header”>
    <h1>Archives</h1>
    </div>
    <?php query_posts(‘showposts=0’); ?> <!– List all entries ever written –>

      <?php while (have_posts()) : the_post(); ?>

    and can’t find any problem.. the ” ‘showposts=0’) ” don’t seems to be the cause of the lack of paging.

    Thread Starter tecnosh

    (@tecnosh)

    tried this: https://weblogtoolscollection.com/archives/2008/04/19/paging-and-custom-wordpress-loops/

    still showing the home instante the next posts on page 2 and the next on 3, etc.

    Thread Starter tecnosh

    (@tecnosh)

    <?php $paged = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1; ?>
    <?php query_posts(‘showposts=8&paged=$paged’); ?>

    this on index, still not working.
    any one with ideas?

    I was having a similar problem. Got a 404 error every time I tried to go to page 2.

    I noticed I was linking to the blog archive like this:

    https://www.your-url.com/blog

    The first page returned fine. Then I realized my permalink structure was /%category%/%postname%/

    I changed the link to this and the paging started to work:

    https://www.your-url.com/category/blog

    Hopefully this will help someone.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘paging.. maybe simple but can’t get working.’ is closed to new replies.