ok a link is https://ibooknewzealand.com/category/north-island/coach-n/ and if you click an item in the table, you would expect to see the next item in the table, at the top of the post. (but probably not in the same order as the table).
I have tried your standard code and tried different true/false combinations, as follows:
<?php echo previous_post_smart($format = 'prev «« %link', $title = '%title',$fallback = true,$in_same_cat = true,$excluded_categories = ''); ?>
<?php echo next_post_smart($format = ' next »» %link', $title = '%title',$fallback = true,$in_same_cat = false,$excluded_categories = '');?>
Currently the site is using masino_sinaga’s directions above. See https://wordpress.pastebin.ca/1867776, This is Atahualpa’s NextPrevious.php file which was the only thing to be altered in masino_sinaga’s directions. Snippet from that file is below:
//JACINTA ADDED BELOW & COMMENTED FOLLOWING 2 LINES
previous_post_smart($bfa_ata['single_next_prev_older']) :
next_post_smart($bfa_ata['single_next_prev_newer']);
/* previous_post_link($bfa_ata['single_next_prev_older']) :
next_post_link($bfa_ata['single_next_prev_newer']);
*/
echo ' </div>' . ($bfa_ata['home_single_next_prev'] != '' ?
'<div class="home"><a href="' . $bfa_ata['get_option_home'] . '/">' .
$bfa_ata['home_single_next_prev'] . '</a></div>' : '') .
'<div class="newer' . ($bfa_ata['home_single_next_prev'] != '' ?
'-home' : '') . '"> ';
$bfa_ata['next_prev_orientation'] == 'Older Left, Newer Right' ?
//JACINTA ADDED BELOW & COMMENTED FOLLOWING 2 LINES
next_post_smart($bfa_ata['single_next_prev_newer']) :
previous_post_smart($bfa_ata['single_next_prev_older']);
/*
next_post_link($bfa_ata['single_next_prev_newer']) :
previous_post_link($bfa_ata['single_next_prev_older']);
*/
echo '</div><div class="clearboth"></div></div>';
Not sure why only one post is displayed at a time. In source display there is just a SPACE where there should be a post (eg in ‘older’ below):
<div class="navigation-top"><div class="older"> </div><div class="newer"> <a href="https://ibooknewzealand.com/2010/north-island/176/ultimate-north-island/" rel="prev">Ultimate North Island</a> »</div><div class="clearboth"></div></div>
Have you got any suggestions ?
Kind regards, Jacinta.