Support » Plugin: WP Single Post Navigation » [Plugin: WP Single Post Navigation] Isn't the plugin "reversed navigation"?

  • Resolved poi3


    First of all, what a great ideia. I love the plugin!

    But isn’t navigation “reversed”? Unless in USA the navigation occours like so by the plugin (left=forward; right=previous), at least here in Europe (Portugal) the right arrow it’s for when we want to go forward and the left arrow it’s for when we want to go back (previous).

    I will try to change the code to match right=forward;left=previous, but in anycase, maybe in a future version something like this could be considered as an option. It would mean having to build a settings painel, but i think it would be worth.

    In any case, great plugin 🙂

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi there!
    Thanx for the feedback, much appreciated!
    I really know what you mean and was already discussed with a friend of mine for whom I developed the plugin. He wanted it that way, so I just did it. — You only need to change to two code snippets which the link code from WP is in to reverse that :-).

    As you pointed out I also thought an options panel will be to much and just left it as it was. Maybe I will change the direction – but your request is the first official one to do that. Just needs more discussion I guess 🙂

    Thanx again!
    -Dave 🙂

    P.S. Any more feedback is very welcomed of course 🙂

    Yep, i changed those two lines that you’re refering. As the plugin just do one thing very well, i think down the line it won’t be necessary much of updating the code from you. Thous, it could be suficient only to include in the documentation how to change the behavior should one desire it without risking being overwrite in a future update that is not very likely. But if you want to add the option to a panel, more work for you that i won’t oppose 😛

    For out of curisity, i asked a few friends of mine what’s their perception in terms of site navigation when they see a left arrow and a right arrow. All said left to go back, right to go forward, and they didn’t understood how that could be different for someone else. Like i said, it is maybe a cultural difference from our countries 🙂

    Anyway, you could see your plugin in action at (still in development) muah :b

    Pedro Nave


    I love the simplicity of the plugin, but could you tell me which two lines of code need to be edited to reverse the order of the navigation as it is the wrong way round?

    Many thanks,


    Don’t worry, I figured it out. If anyone’s interested copy this code into wp-single-post-navigation/wp-single-post-navigation.php

    // Add single post navigation links
    add_action( 'wp_head', 'single_prev_next_links' );
    function single_prev_next_links() {
    	if ( is_single() ) { ?>
    		<div class="wpspn-area">
    				<div id="wpspn-nextpost">
    				<?php previous_post_link( '%link', '&laquo;' ); ?>
    			 	<div id="wpspn-prevpost">
    				<?php next_post_link( '%link', '&raquo;' ); ?>
    	<?php }
    Plugin Author daveshine (David Decker)


    Hi all!

    With version 1.4 of the plugin, released on 2012-01-07 you can achieve this via your theme, without touching the plugin’s code!

    See the plugin description and especially the FAQ section:
    – FAQ:

    I hope you enjoy the changes 🙂

    Thanx for using or trying out my plugin!
    -Dave 🙂

    Hi David,

    This is what happened when I put that line of code in functions.php to reverse the direction of navigation –

    The direction of navigation did get reversed, but the arrows are pointing in the wrong direction. The arrows are pointing inwards when they should be pointing outwards.

    Here’s my site:

    Please help!


    Hey I solved this by following your directions in the FAQ of changing “laquo” to “raquo” and vice versa.

    Issue resolved.

    Thanks for the great plugin!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: WP Single Post Navigation] Isn't the plugin "reversed navigation"?’ is closed to new replies.