The themeblvd_content_bottom hook is not shown in documentation, but it’s there and works for this.
0 1 2 3 4 5 6 7 8 9 10 |
function jma_add_prev_next(){ if(is_single()): ?> <div class="prev-next-navigation"> <?php previous_post_link('%link', 'Previous Post'); ?><br /> <?php next_post_link('%link', 'Next Post'); ?> </div><?php endif; } add_action('themeblvd_content_bottom', 'jma_add_prev_next'); |