-
AuthorPosts
-
January 3, 2019 at 5:40 pm #1049662
Hi,
I want to use Page-Links Plus plugin to add pagination to my WordPress pages, however it only works if ” wp_link_pages” is in the theme. I’ve checked and I can’t find it. If it’s not in the theme can you tell me where to add it please.
Thanks
January 4, 2019 at 7:10 am #1049848Hey ZakMun,
Are you referring to this function? https://codex.wordpress.org/Function_Reference/wp_link_pages
Best regards,
RikardJanuary 4, 2019 at 7:37 pm #1050091Hi Rikard,
Yes that is the one
Kind Regards
ZakJanuary 7, 2019 at 9:44 pm #1051053Hello?
Hoping someone can solve this. I’m sure its not a big problemJanuary 8, 2019 at 2:22 am #1051124Hi,
You have to manually add it in the page.php or the includes > loop-page.php template. If you’re using the theme’s builder, edit the template-builder.php file.
Best regards,
IsmaelJanuary 8, 2019 at 10:40 pm #1051514Thanks for that Ismael
Could you be more specific as to where about it needs to go in the php file? Sorry i’m not an expert at coding
Thanks
ZakiJanuary 10, 2019 at 11:40 am #1052287Hi,
I just reviewed the function’s documentation and it says that it has to go inside the loop, so you have to add it in the includes > loop-page.php file, right after the content around line 26:
//display the actual post content echo ' <div class="entry-content" '.avia_markup_helper(array('context' => 'entry_content','echo'=>false)).'>'; the_content(__('Read more','avia_framework').'<span class="more-link-arrow"></span>'); echo '</div> ';// https://codex.wordpress.org/Function_Reference/wp_link_pages
Best regards,
IsmaelJanuary 12, 2019 at 7:58 pm #1053214This reply has been marked as private.January 14, 2019 at 3:14 am #1053491Hi,
Do you have a test page? Please provide the url of the site. You may need to contact the plugin developer for additional help.
Best regards,
IsmaelJanuary 15, 2019 at 10:56 pm #1054395This reply has been marked as private.January 18, 2019 at 1:21 am #1055297Hi,
Yes please do contact the plugin developer, would be really helpful.
Best regards,
BasilisJanuary 19, 2019 at 10:14 pm #1055975Hi,
Very well, thats fine
Zak
February 16, 2019 at 11:18 pm #1067831Hi,
This has been sorted out.
Thread can be closed.Thanks
ZakFebruary 18, 2019 at 7:50 am #1068166 -
AuthorPosts
- The topic ‘wp_link_pages’ is closed to new replies.
