-
AuthorPosts
-
April 29, 2020 at 1:18 pm #1208146
We have on Enfold – Blog Layout – Single Post Navigation : Loop Post Navigation
concerning to : avf_post_nav_settings filter
Thats a nice feature – but now i got some troubles with it. On one page the first Post does not link on the prev. to the last but to the 13th post of 22.
If i go to the last (22) it will go correct to the next post ( first one ) –
See private Content.May 4, 2020 at 7:07 pm #1209660i try to use my old plugin for that “intuitive custom post order” – and now a advice from Günter: “Simple Custom Post Order” – it works great – but not on looping the prev – next – for the first in the order to go back to the last.
https://kriesi.at/support/topic/is-it-possible-to-loop-the-post-navigation/#post-1096125
It would be nice to have here an orderby option too!
Falls es darum geht, die Sortierreihnfolge zu ändern (z.B. von post date auf title) – das geht momentan nicht.
even if i change in functions-enfold.php line 726 the orderby to menu_order it does not have any effect.
- This reply was modified 4 years, 6 months ago by Guenni007.
May 4, 2020 at 7:56 pm #1209699I changed on that page above ( private Content ) now manually to a date sort which works – but that would be nice to have a filter here too for orderby in combination with looping in same category.
May 5, 2020 at 10:25 am #1209869A new german menu : Link
I can say this, I’m German. ;)May 5, 2020 at 2:49 pm #1209978Hi,
Thank you for the inquiry.
Did you change the order of the posts using the plugin? The plugin probably altered the default posts query, so you don’t get the next or previous adjacent post in the navigation as you would by default without the plugin.
You can try this filter to revert the posts sorting back to default.
Just replace post_title with post_date.
Best regards,
IsmaelMay 6, 2020 at 9:14 am #1210259and this ( these plugins ) are usually sufficient for smaller collections.
These Plugins enables the possibility to drag and drop posts/portfolio/pages in the list-view to a given position : page order.
It works perfectly – except for the prev. button of the first post, when I select the rotating mode it does not go to the last post but to the oldest post ( date ).
I need this option to have a manuall order ( as in the other posting – with woocommerce products )But i think with the knowledge of the filter: get_previous_post_sort and get_next_post_sort or because it seems to be deprecated filtername and now the : get_{$adjacent}_post_sort is used.
If I need help, I’ll be contacting you again
May 6, 2020 at 3:23 pm #1210362it seem that getting influence via these filters the loop option is lost.
so here is the more precise question: how do I achieve a change in the sorting option while retaining the “Loop Post Navigation”.
May 11, 2020 at 12:19 pm #1211813Hi,
But i think with the knowledge of the filter: get_previous_post_sort and get_next_post_sort or because it seems to be deprecated filtername and now the : get_{$adjacent}_post_sort is used.
The $adjacent variable can be either next or previous, so that filter should work just fine.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.