Tagged: avia post nav
-
AuthorPosts
-
November 7, 2017 at 2:43 pm #873710
Hi Kriesi,
I’m having a bit of strange behaviour with the post next/prev buttons which slide out from the side of the page to go to the next or previous post.
When hovered over, the left (= previous post) button shows the next post/product ‘Damwanden’. The same goes for the right avia post nav button (=next post): this button shows the ‘Balken’ product, which is actually the previous product.
Can you tell me what determines the order that the previous and next links appear in the Avia Post NAV? The order of the buttons need to be in reverse.
November 7, 2017 at 5:07 pm #873825Hey nirvana,
Here is an article for you to consider
If you need further assistance please let us know.
Best regards,
VictoriaJanuary 7, 2018 at 9:34 pm #894513Hi,
I have the same issue, but not for posts, but rather for products in the Woocommerce shop. As menu_order is the field that defines the sorting order in my shop – which works perfectly fine on the product overview page, I added this code following the advice given above:
add_filter('avia_blog_post_query', 'avia_modify_post_grid_query_desc'); function avia_modify_post_grid_query_desc( $query ) { $query['orderby'] = 'menu_order'; $query['order'] = 'DESC'; return $query; }
But it does not make any difference, the Avia left/right buttons seem to jump always to the next/previous 5 products, instead of the next (so from 1 to 6, 11, 16 etc.)
Is there a different filter for products?
Thanks for you help!
KlausJanuary 8, 2018 at 5:48 pm #894804Hi Klaus,
I am not sure I understand, on which page the sort order is not working for you.
Here are the WooCommerce filters
https://docs.woocommerce.com/wc-apidocs/hook-docs.htmlBest regards,
VictoriaJanuary 8, 2018 at 6:42 pm #894833Dear Victoria,
I had sent you a link to exactly the page that shows the issue. There you have at the outer left and right of the screen arrows, that appear on mouseover. The items should be sorted based on “lot”-number, but when you try to move to the next product, you will see that actually it is not jumping to the next product, but rather to 5 products later.Thanks
KlausJanuary 9, 2018 at 11:52 pm #895416Hi,
That happens to all posts?
It seems it goes to either the last or the first product, not just randomly 5 products after.
Looks like you are something like reseting the query.Best regards,
BasilisJanuary 10, 2018 at 12:35 am #895435Yes, it happens to all posts, and all products.So it is not related to Woocommerce only, I just checked this.
And *I* am not doing anything like reseting the query.
On the page that I posted it is clearly visible, that when you start with object no. 1, it jumps next to 6, then 11. Going back it goes to 10 – which would be ok! – but then to 5, and next is 234, which is the end of the product list. So there is some kind of logic behind, but of course wrong.
I have Enfold running on several sites, I checked now on another one (see private area) – same story, or even worse – totally ramdomized, if the arrows are shown at all, and to what post they are jumping. But then again, only on the site posted before I tried to set the sorting order to “menu_order”, but it does not work. Not sure about the sorting order on the other sites, they are not priority at the moment.
Best
KlausJanuary 14, 2018 at 9:42 pm #897193Hi,
I checked with the team and that has been reported again.
It is something that started now although ( and might be related to the new WOO versions ).
We will do take care of the issue asap.Best regards,
BasilisFebruary 18, 2018 at 11:22 pm #914058Hi, is there any news on this issue? I just bring another website live, and clicking through the posts just doesn’t work like it should, it is kind of a lottery.
Thanks!
KlausFebruary 19, 2018 at 3:15 pm #914290Hi Klaus,
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
Best regards,
VictoriaFebruary 21, 2018 at 9:42 pm #915733This reply has been marked as private.February 22, 2018 at 12:58 pm #916010Hi Klaus,
On the page you specified I do not see the post nav, did you hide it? I see 50 items, on page 2 the items start from 51. Could you please attach some screenshots of the issue?
Best regards,
VictoriaFebruary 22, 2018 at 11:02 pm #916384Hi Victoria,
sorry, I thought it is clear that you have to first click on one of the products, to reach the single product view! :) Of course only there you have the navigation left/right. So, best is you click on the first product (or use direct link I provide here), then go right – you will see that it jumps 5 products, instead of 1.
On a older copy of this website – with all plugins beside Woocommerce disabled – it is even more complex, navigation is jumping 3,2,5,1 products, without any pattern that I can identify…
Thanks!
KlausFebruary 23, 2018 at 11:05 am #916578Hi Klaus,
Here is a thread for you to consider
https://wordpress.stackexchange.com/questions/73190/can-the-next-prev-post-links-be-ordered-by-menu-order-or-by-a-meta-keyBest regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.