Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #638130

    Hi,

    the next and previous slide out nav items (.avia-post-nav) are back to front in that the one on the right takes you to the previous post and the one on the left takes you to the next post.

    I feel this should be swapped around.

    If you look at: http://lander.digitalessence.net/projects/ and then click on

    http://lander.digitalessence.net/stone-chimney-farm/ 3rd in on top row.

    The right hand nav takes you to: CHEQUERS ROAD, MINSTER, SHEPPEY
    The left hand nav takes you to: LAND ADJACENT SHEARSTONES, GILLINGHAM, DORSET

    The order of the posts is:
    1) CHEQUERS ROAD, MINSTER, SHEPPEY 06/05/2016
    2) STONE CHIMNEY FARM, CONYER 05/05/2016
    3) LAND ADJACENT SHEARSTONES, GILLINGHAM, DORSET 04/05/2016

    Thanks.

    #638140

    Hey DigitalEssence!

    Please add following code to Functions.php file in Appearance > Editor

    
    add_filter('avia_post_nav_entries', 'avia_post_nav_entries_mod', 10, 2);
    function avia_post_nav_entries_mod($entries, $settings) {
    	            $entries['next'] = get_previous_post($settings['same_category']);
    	            $entries['prev'] = get_next_post($settings['same_category']);
        return $entries;
    }

    Cheers!
    Yigit

    #638161

    Hi,

    that’s sorted it thanks.

    I take it this will make its way into a future update?

    Thanks,

    Hedley

    #638170

    Hi!

    It will as long as you are using a child theme :) If you are not, please see – http://kriesi.at/documentation/enfold/using-a-child-theme/

    Best regards,
    Yigit

    #638182

    Hi Yigit,

    I meant will this fix (code you supplied) be added to a future patch/release of Enfold?

    It’s just I see the current way it works as being back to front. Right is forward, left is back. I think this is normal UX?

    Hedley

    #638184

    Hi!

    No it will not be added. Currently the latest posts shows navigation on the left to the previous/older post. As on browsers and other applications takes you to previous page.
    You can simply add the code to functions.php file of your child theme or request it here – https://kriesi.at/support/enfold-feature-requests/ :)

    Best regards,
    Yigit

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.