Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #221472

    Hi, I have the updated theme, and I am also using Advanced Post Type Order. But since I’ve updated both the avia prev/next navigation work in the reverse order (right arrow goes to the previous project, and the left arrow goes to the next project). I’ve looked through the forums and can’t find an answer.

    How can I correct this?

    the site password is: so

    • This topic was modified 6 months, 1 week ago by  altr.
    #221664

    Hi altr!

    In WordPress dashboard, please go to Appearance > Editor and open functions-enfold.php file and find

    {
    	            $entries['prev'] = get_previous_post($settings['same_category'], $settings['excluded_terms'], $settings['taxonomy']);
    	            $entries['next'] = get_next_post($settings['same_category'], $settings['excluded_terms'], $settings['taxonomy']);
    	        }
    	        else
    	        {
    	            $entries['prev'] = get_previous_post($settings['same_category']);
    	            $entries['next'] = get_next_post($settings['same_category']);
    	        }

    and replace it with

    {
    	            $entries['next'] = get_previous_post($settings['same_category'], $settings['excluded_terms'], $settings['taxonomy']);
    	            $entries['prev'] = get_next_post($settings['same_category'], $settings['excluded_terms'], $settings['taxonomy']);
    	        }
    	        else
    	        {
    	            $entries['next'] = get_previous_post($settings['same_category']);
    	            $entries['prev'] = get_next_post($settings['same_category']);
    	        }

    Best regards,
    Yigit

    #221725

    That worked! Thank you ;)

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Prev/Next portfolio goes in reverse?’ is closed to new replies.