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

    #1049848

    Hey ZakMun,

    Are you referring to this function? https://codex.wordpress.org/Function_Reference/wp_link_pages

    Best regards,
    Rikard

    #1050091

    Hi Rikard,

    Yes that is the one

    Kind Regards
    Zak

    #1051053

    Hello?
    Hoping someone can solve this. I’m sure its not a big problem

    #1051124

    Hi,

    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,
    Ismael

    #1051514

    Thanks 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
    Zaki

    #1052287

    Hi,

    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,
    Ismael

    #1053214
    This reply has been marked as private.
    #1053491

    Hi,

    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,
    Ismael

    #1054395
    This reply has been marked as private.
    #1055297

    Hi,

    Yes please do contact the plugin developer, would be really helpful.

    Best regards,
    Basilis

    #1055975

    Hi,

    Very well, thats fine

    Zak

    #1067831

    Hi,

    This has been sorted out.
    Thread can be closed.

    Thanks
    Zak

    #1068166

    Hi,

    Great! Glad it’s sorted. We’ll close the thread now.

    Have a nice day.

    Best regards,
    Ismael

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘wp_link_pages’ is closed to new replies.