-
AuthorPosts
-
May 25, 2016 at 4:53 pm #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, DORSETThe 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/2016Thanks.
May 25, 2016 at 5:09 pm #638140Hey 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!
YigitMay 25, 2016 at 5:37 pm #638161Hi,
that’s sorted it thanks.
I take it this will make its way into a future update?
Thanks,
Hedley
May 25, 2016 at 5:48 pm #638170Hi!
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,
YigitMay 25, 2016 at 6:04 pm #638182Hi 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
May 25, 2016 at 6:10 pm #638184Hi!
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 -
AuthorPosts
- You must be logged in to reply to this topic.