Tagged: enfold, single product page, woo commerce
Hi Guys,
thanks for this wonderfull theme. I would need a little help with the navigation on the single product page in woocommerce.
It seems to be ordered by the id. The last added product have no next button. I would need a title sorting like on the enfold product grid.
I hope there is a solution for my problem.
best regards
Alex
Hi Alexander!
If you would like to change the position of arrows, please refer to Josue’s post here – https://kriesi.at/support/topic/blog-post-previous-and-next-arrows/#post-185493
If that is not what you meant, please elaborate.
Cheers!
Yigit
Hi Yigit,
maybe my explanation was not so good. :-) On the enfold product grid the items are ordered by title that the way i would like to have it. On the single product page of woo commerce enfold adds the previous and next arrows the the nice little images and this arrows are ordered by post-id. And this is what i would like to change. I would like to have them ordered by title like on the enfold product grid.
Any chance to get this done?
Alex
Hey!
The avia_post_nav function is using the default wp function (get_previous_post and get_next_post) which can only retrieve adjacent posts. Retrieving the posts by title will require a custom function. Please contact codeable: http://kriesi.at/contact/customization
https://codex.wordpress.org/Function_Reference/get_previous_post
Cheers!
Ismael