Forums

Categories post display issues (3 posts)

  1. jimbarc99
    Member
    Posted 2 weeks ago #

    Hi there, can anyone help me with this problem

    Site: Think Defence
    URL : http://www.thinkdefence.co.uk/

    On the home page is a simple blog view with all posts expanded and 10 displayed.

    No problems there

    However, when you click the a category (either in the post or via the menu) it only displays 10, even if there are more than ten in that category. These 10 are shown collapsed, which is fine but I want to have a page navigation function at the bottom of the page that allows a reader to explore all entries in that category rather than the last 10

    How can this be achieved

    Thanks in advance

  2. cais
    Member
    Posted 2 weeks ago #

    Your archive template(s) may not have any navigation code in them ...

    <div id="nav-global" class="navigation">
      <div class="left">
        <?php next_posts_link(__('&laquo; Previous entries ', 'nona')); ?>
      </div>
      <div class="right">
        <?php previous_posts_link(__(' Next entries &raquo;', 'nona')); ?>
      </div>
    </div>
    <div class="clear"></div>

    Look at their code for something like the above snippet, if it does not exist then you may be able to simply cut and paste the snippet into the template(s).

    Look within the loop ...

    <?php if (have_posts()) : ?>
      ...
    <?php while (have_posts()) : the_post(); ?>
      ...
    <?php endwhile; ?>
      // add code snippet above here
    <?php else : ?>
      ...
    <?php endif; ?>

    Hope that helps some, I did not recognize the theme right off so the above is more a general approach than a specific fix.

  3. jimbarc99
    Member
    Posted 2 weeks ago #

    That did the trick, thanks

Reply

You must log in to post.

About this Topic

Tags

No tags yet.