Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1436195

    i use this in function and it works
    add_filter(“avf_post_nav_settings”, function($settings) {
    $settings[‘same_category’] = true;
    $settings[‘loop_post_nav’] = true;
    $settings[‘is_fullwidth’] = false;
    return $settings;
    }, 10, 1);

    now i need the order changed

    add_filter( ‘avia_post_nav_entries’, ‘enfold_customization_postnav’, 10, 2);
    function enfold_customization_postnav($entries, $settings) {
    $entries[‘prev’] = get_next_post($settings[‘same_category’]);
    $entries[‘next’] = get_previous_post($settings[‘same_category’]);
    return $entries;
    }

    now the other override with $settings[‘loop_post_nav’] = true; no more working…
    can you hellp me?

    #1436198

    I have now only switched the position of the arrows with css…

    #1436207

    Hi,

    Thank you for the inquiry.

    What are you trying to do with “loop_post_nav”? Please provide a test page so that we can check the issue further.

    Best regards,
    Ismael

    #1436227

    $settings[‘loop_post_nav’] = true; works!!!
    i have ccs. we can close it

    #1436229

    Hi,

    Glad to know that you managed to make this work. Please feel free to open another thread if you have more questions about the theme.

    Have a nice day.

    Best regards,
    Ismael

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Side arrows in newest enfold version’ is closed to new replies.