WordPress.org

Ready to get started?Download WordPress

Forums

index without navigation (3 posts)

  1. elistr
    Member
    Posted 6 years ago #

    Hello,

    I have problem with navigation. At my site http://hiphopklipy.cz at the end of main page I would like to have navigation. At posts there is ( http://hiphopklipy.cz/americke-klipy/too-short-life-is-too-short - ← Sugarhill Gang - Rapper’s Delight Too Short - The Ghetto → )!
    Can you help me?

    Thaynk you for reply.

  2. moshu
    Member
    Posted 6 years ago #

    Well, on single post view you have the "navigation" to the previous and to the next (single) post.

    On index you can NOT have the same because it is 'multipost view'.
    However, you can have a "paged" navigation to the previous XY number of posts, by using this template tag in the index:
    http://codex.wordpress.org/Template_Tags/posts_nav_link

  3. elistr
    Member
    Posted 6 years ago #

    Thank you for reply.

    So I add this code:
    <div style="text-align:center;">
    <?php posts_nav_link(' · ', 'previous page', 'next page'); ?>
    </div>

    at the end of index.php but nothink happened :(

Topic Closed

This topic has been closed to new replies.

About this Topic