WordPress.org

Ready to get started?Download WordPress

Forums

My older posts disappear when new posts are added - please help!!! (6 posts)

  1. hesam15uk
    Member
    Posted 4 years ago #

    Hi

    When I add new posts to my website the old posts disappear and only the 10 most recent posts are shown on the first page. How would I be able to move the older posts into 'Next Page' when the new ones are added instead of them disappearing. My website is:
    BritneyParisHilton.com

    Thanks in advance.

  2. Samuel B
    moderator
    Posted 4 years ago #

  3. hesam15uk
    Member
    Posted 4 years ago #

    Thanks for the website. The website mentions the following:

    "[the next/back links] is often found in a paragraph code or a division like this:

    <div class="navigation"><p><?php posts_nav_link(); ?></p></div>

    The parameters of the tag are as follows:

    <?php posts_nav_link('separator','prelabel','nextlabel'); ?>"

    Where can these codes be found? Is there a possibility that these codes are missing from my site?

  4. Samuel B
    moderator
    Posted 4 years ago #

    some themes use the code - some don't

  5. hesam15uk
    Member
    Posted 4 years ago #

    In which section of my theme would I need to add the code to?

  6. Samuel B
    moderator
    Posted 4 years ago #

    likely your theme's single.php

Topic Closed

This topic has been closed to new replies.

About this Topic