jentrify
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Post-to-post navigationSo 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):
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">←</span> Older posts', 'chunk' ) ); ?></div> <div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">→</span>', 'chunk' ) ); ?></div> </div>Any help would be very much appreciated – thanks again!
Forum: Fixing WordPress
In reply to: Post-to-post navigationActually, 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.
Forum: Fixing WordPress
In reply to: Post-to-post navigationHi 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