• Resolved guesst

    (@guesst)


    Okay, there are a number of posts the next/previous links, but they haven’t helped me. What’s worse is I know it was working in a previous version of my theme that got destroyed.

    Why won’t my next/previous links show up?

    <?php get_header(); ?>
    
    <div id="bd" class="yui-navset">
    <div id="yui-main">
    <div class="yui-b" >
    <div class="yui-g">
    
    <div class="item entry" id="post-<?php the_ID(); ?>">
    <!-- item -->
    		<div class="itemhead">
    			<h3><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3>
    			<div class="chronodata"><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></div>
    		</div>
    
    		<div class="storycontent">
    			<?php the_content('Read more &raquo;'); ?>
    		</div>
    		<small class="metadata">
    			<span class="category">Filed under: <?php the_category(', ') ?> <? if(!is_single()) echo "|"; ?> <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('Comment (0)', ' Comment (1)', 'Comments (%)'); ?></span>
    			<?php
    				if ( function_exists('wp_tag_cloud') ) :
    				the_tags('<span class="tags">Article tags: ', ', ' , '</span>');
    				endif;
    			?>
    		</small>
    		<p> </p>
    		<?php comments_template(); // Get wp-comments.php template ?>
    		<p> </p>
    <!-- end item -->
    </div>
    
    	<div class="navigation">
    <strong>		<div class="alignleft"><?php next_posts_link('&laquo; Previous Entries') ?></div>
    		<div class="alignright"><?php previous_posts_link('Next Entries &raquo;') ?></strong></div>
    		<p> </p>
    	</div>
    
    <!-- end content -->
    </div>
    </div>
    </div>
    
    <div class="yui-b" id="secondary">
    	<?php get_sidebar(); ?>
    </div>
    </div>
    <?php get_footer(); ?>

    Here’s a link to an example that SHOULD show it: https://cymonsgames.retroremakes.com/dynatherms-connected/. It works on the front page. Same format, same everything.

    Any ideas.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Next/Prev not working on single posts.’ is closed to new replies.