Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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.

    #1209660

    i 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.
    #1209699

    I 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.

    #1209869

    A new german menu : Link
    I can say this, I’m German. ;)

    #1209978

    Hi,

    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.

    // https://kriesi.at/support/topic/woocommerce-how-to-manage-product-order-in-next-prev-product-navigation/#post-1165068

    Just replace post_title with post_date.

    Best regards,
    Ismael

    #1210259

    and 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

    #1210362

    it 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”.

    #1211813

    Hi,

    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

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