WordPress.org

Forums

Fifteen
not getting single post nav (2 posts)

  1. deepbevel
    Member
    Posted 8 months ago #

    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 } ?>
    `

  2. deepbevel
    Member
    Posted 8 months ago #

    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?

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.