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?
I have now only switched the position of the arrows with css…
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
$settings[‘loop_post_nav’] = true; works!!!
i have ccs. we can close it