aestorer
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Olsen Light] Previous / Next PostResolved.
Forum: Themes and Templates
In reply to: [Olsen Light] Previous / Next PostAh! I figured it out! The code is below in case anyone else has this issue. Thanks Nvourva for your help!
<div id=”paging” class=”group”>
<?php
$prev_post = get_previous_post();
$next_post = get_next_post();
?>
<?php if( ! empty( $prev_post ) ): ?>
” class=”paging-standard paging-older”><?php esc_html_e( ‘Previous Post’, ‘olsen-light’ ); ?>
<?php endif; ?><?php if( ! empty( $next_post ) ): ?>
” class=”paging-standard paging-newer”><?php esc_html_e( ‘Next Post’, ‘olsen-light’ ); ?>
<?php endif; ?>
</div>Forum: Themes and Templates
In reply to: [Olsen Light] Previous / Next PostBelow is the portion of the code I changed and how it looks at this moment.
<div id=”paging” class=”group”>
<?php
$prev_post = get_previous_post();
$next_post = get_next_post();
?>
<?php if( ! empty( $prev_post ) ): ?>
” class=”paging-standard paging-newer”><?php esc_html_e( ‘Next Post’, ‘olsen-light’ ); ?>
<?php endif; ?><?php if( ! empty( $next_post ) ): ?>
” class=”paging-standard paging-older”><?php esc_html_e( ‘Next Post’, ‘olsen-light’ ); ?>
<?php endif; ?>Forum: Themes and Templates
In reply to: [Olsen Light] Previous / Next PostOr the code I should be moving?
Forum: Themes and Templates
In reply to: [Olsen Light] Previous / Next PostI did but must have done it wrong. The editor I’m using doesn’t have line numbers. Would you mind copying and pasting the code I should be swapping?
Forum: Themes and Templates
In reply to: [Olsen Light] Previous / Next PostThanks again! This is getting closer. Now my oldest post has a next post link at the bottom (however it is in the previous post spot) and the newest post still has a next post link but gets you to the previous post. Any help?
Forum: Themes and Templates
In reply to: [Olsen Light] Previous / Next PostThanks for the reply! This does change the order of the posts. But, at the bottom of the post where there are links to previous posts and next posts, it does not change those. I’d like to be able to start on my first post, have people be able to read it, and then click next post to get to the second, but newer post, as an example.
Thanks.