I am using a child theme derived from twentythirteen. I wanted to have my posts displayed in chronological order(ascending). I tried adding the code from this answer to index.php but for some reason that didn't seem to work. So instead I got the plugin "Advanced Post Types Order" and that seemed to work fine, in regards to displaying the posts in the right order.
However now when I want to display a single post, the navigation links are backwards. It displays:
The two links should be just reversed, i.e.
<-- post #1 for the "previous" post, and post#3 --> for the "next" post.
I looked at file single.php, and found it was calling twentythirteen_post_nav() in functions.php. And inside that function, I found the two lines:
<?php previous_post_link( '%link', _x( '<span class="meta-nav">←</span> %title', 'Previous post link', 'twentythirteen' ) ); ?>
<?php next_post_link( '%link', _x( '%title <span class="meta-nav">→</span>', 'Next post link', 'twentythirteen' ) ); ?>
So I tried just reversing their order, i.e.
<?php next_post_link( '%link', _x( '%title <span class="meta-nav">→</span>', 'Next post link', 'twentythirteen' ) ); ?>
<?php previous_post_link( '%link', _x( '<span class="meta-nav">←</span> %title', 'Previous post link', 'twentythirteen' ) ); ?>
but surprisingly, that didn't change anything(!). I know I am getting into this function, because if I change some characters (like changing the &rarr to -->) that shows up. Iss there some funny CSS tricks going on here I'm not aware of?
BTW this is my first WordPress project, so I wouldn't be surprised if I'm missing something obvious.