Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter jentrify

    (@jentrify)

    So I’ve got the navigation working now for single posts, but I would also like to move the navigational links above the “Leave a comment” section (not sure if this is possible because the section is within the content), and to the left, as they appear on a page of posts (see the “Older posts” link at the bottom of the page, before the footer):

    http://jentrify.com/page/2/

    I tried moving the code for the pretty navigation from index.php into the loop, but the links are not appearing. Here’s the code I moved into the loop:

    <div class="navigation">
    		<div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">&larr;</span> Older posts', 'chunk' ) ); ?></div>
    		<div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">&rarr;</span>', 'chunk' ) ); ?></div>
    	</div>

    Any help would be very much appreciated – thanks again!

    Thread Starter jentrify

    (@jentrify)

    Actually, Christine, I just found the following article:

    http://codex.ww.wp.xz.cn/Stepping_Into_Templates

    I will copy and paste the code from index.php and made the adjustment for the navigation. Thanks again for leading me in the right direction.

    Thread Starter jentrify

    (@jentrify)

    Hi Christine,

    Thank you very much for your detailed explanation.

    Is there a template that corresponds to single.php in the following list? I am using the Chunk WordPress theme, and single.php is not a built-in template.

    comments.php
    footer.php
    header.php
    image.php
    index.php
    functions.php
    content-audio.php
    content-link.php
    content.php
    sidebar-footer.php

Viewing 3 replies - 1 through 3 (of 3 total)