WordPress.org

Support

Support » Themes and Templates » not getting single post nav

not getting single post nav

  • I had to add my own previous post/next_post template tag to get post nav to appear. The default code in single.php doesn’t seem to do it.

    `
    <?php if ( (of_get_option(‘next-prev-posts’) != 0 ) ) { ?>
    <?php fifteen_content_nav( ‘nav-below’ ); ?>
    <?php } ?>
    `

Viewing 1 replies (of 1 total)
  • It may be related so I’m adding this issue to this thread, I’m also not getting featured images in posts. Had to add my own template tag for it.

    this default code in single.php isn’t getting the featured images

    <?php if ( (of_get_option('featimg-posts') != 0 ) ) { ?>
    			<?php if (has_post_thumbnail() ) : ?>
    			<div class="featured-image-single">
    				<?php
    					the_post_thumbnail('large');
    					?>
    
    			</div>
    		<?php endif ?>
    <?php }  ?>

    I’m wondering if the “of_get_option” isn’t working for some reason?

Viewing 1 replies (of 1 total)
  • The topic ‘not getting single post nav’ is closed to new replies.