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

    #1369259

    Hey 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,
    Rikard

    #1369275
    This reply has been marked as private.
    #1369307

    Hi 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,
    Nikko

    #1369365
    This reply has been marked as private.
    #1369387

    Hi Guido,

    You can remove:

    ?>

    and replace it with the code Rikard gave :)
    No need to add the ?> at the end.

    Best regards,
    Nikko

    #1369393
    This reply has been marked as private.
    #1369410

    Hi 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,
    Nikko

    #1369412
    This reply has been marked as private.
    #1369419

    Hi 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

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