-
AuthorPosts
-
August 16, 2016 at 5:10 am #672968
Hi,
I am trying to add Prev an Next button to my portfolio pagination as seen – https://kriesi.at/support/topic/adding-next-and-prev-pagination-links/
I used the code above, the Prev button shows but he Next button is not.August 19, 2016 at 7:10 am #674533Hey nep102,
Thank you for using Enfold.
Did you modify the “function-set-avia-frontend.php” file? Please post the code of the function-set-avia-frontend.php file. Use pastebin.com.
Best regards,
IsmaelAugust 20, 2016 at 6:43 am #674932Hi Ismael,
Please find the code below.
August 23, 2016 at 12:53 pm #676359Hi,
in line 868 you are using this:
`$output .= ‘<span class = “next_pagination”>’.get_next_posts_link(‘Next’).'</span>’;
$output .= “</$wrapper>\n”;but as Elliott mentioned it should be like this:$output .= ‘<span class = “next_pagination”>’.get_next_posts_link(‘Next’).'</span>’;
$output .= “</$wrapper>”.get_next_posts_link().”\n”;
`
Best regards,
AndyAugust 24, 2016 at 6:38 am #676803Hi Andy,
Elliot mentioned there should be a line that is $output .= “</$wrapper>”.get_next_posts_link().”\n”; but there isn’t with the new code but it’s ” $output .= “</$wrapper>\n”;” Now, I replaced it with the code you mentioned and it broke the site showing blank…Can someone help me here, thanks.
August 26, 2016 at 3:38 am #677892Hi,
Can you please create us a WordPress administrator account? post it here as a private reply.
Regards,
JosueAugust 26, 2016 at 6:08 am #677943Thanks Josue,
August 31, 2016 at 4:00 am #679773Hi,
Check this line:
$output .= '<span class = "next_pagination">'.get_next_posts_link('Next').'</span>';.. replace it with:
$output .= '<span class="next_pagination">'.get_next_posts_link('Next').'</span>';Screenshot: http://imgur.com/a/IM4D6
Best regards,
IsmaelSeptember 3, 2016 at 7:25 am #681552Hi Ismael,
It’s not working for me. I see the span tag there but nothing is showing…
September 7, 2016 at 6:08 am #682950 -
AuthorPosts
- You must be logged in to reply to this topic.
