-
AuthorPosts
-
October 18, 2022 at 9:28 am #1369189
Hallo
ich habe verschiedene Blogs auf einer Website und wenn ich den ersten Beitrag angeklickt habe, dann ist der weiter Button (nächster Beitrag)mittig auf der linken Seite, obwohl er auf der rechten Seite sein sollte.Genau so verhält es sich, wenn ich den letzten Blog-Beitrag angeklickt habe, dann ist der weiter Button auf der rechten Seite, sollte auf der linken Seite sein.
Wie kann ich den Fehler avia-post-nav beheben? Danke schon mal für die Hilfe
Grüße Guido
October 18, 2022 at 4:57 pm #1369259Hey Highlander-2013,
If you want to reverse the order, then please try this filter out:
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; }Best regards,
RikardOctober 18, 2022 at 6:46 pm #1369275This reply has been marked as private.October 19, 2022 at 3:13 am #1369307Hi Guido,
You’ll need to add it at the bottom of your functions.php file (child theme).
If you don’t have a child theme yet, you can download it here (instructions are included in the link).
Hope this helps.Best regards,
NikkoOctober 19, 2022 at 10:18 am #1369365This reply has been marked as private.October 19, 2022 at 1:24 pm #1369387Hi Guido,
You can remove:
?>and replace it with the code Rikard gave :)
No need to add the ?> at the end.Best regards,
NikkoOctober 19, 2022 at 1:54 pm #1369393This reply has been marked as private.October 19, 2022 at 2:50 pm #1369410Hi Guido,
Did you copy the code in your email?
Please try to copy the code from the forum directly instead from email.
Or you can try to replace all the single quotes and double quotes as they are most likely the cause of the error.Best regards,
NikkoOctober 19, 2022 at 3:06 pm #1369412This reply has been marked as private.October 19, 2022 at 3:53 pm #1369419Hi Guido,
Try to manually replace those single quotes and double quotes.
Or we can try to do it for you, we’ll just need both admin credentials to the dashboard as well as FTP access.
Just post the credentials privately.Best regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.
