WordPress.org

Ready to get started?Download WordPress

Forums

"next page" link (6 posts)

  1. cvera
    Member
    Posted 9 years ago #

    hi!
    I am working on this website:http://www.incsub.org/wpmu/cvera/
    how can i add a next page link to the main page?
    Thanks!!!

  2. Add the <?php posts_nav_link(); ?> tag to your main page. More info: http://codex.wordpress.org/Template_Tags/posts_nav_link

  3. cvera
    Member
    Posted 9 years ago #

    Thanks,

  4. cvera
    Member
    Posted 9 years ago #

    Thanks, but after adding this to my main page, nothing happens:
    <div class='STORYCONTENT' align='middle'><?php posts_nav_link('','previous page','next page'); ?></div>
    I try this also:
    <?php posts_nav_link('','previous page','next page'); ?>
    They don't work!
    Could anyone help me here? Thank you!

  5. See if the default works. Just try:

    <?php posts_nav_link(); ?>

    Don't add anything else to it.

  6. cvera
    Member
    Posted 9 years ago #

    sorry, but that doesn't work either. :(
    Could anyone help me here?
    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.