Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #651142

    Hi,

    To paginate comments in a common Post I just used this code, in the child (themes/enfold-child/includes/comments.php):

    <div class="pagination">
    	<?php paginate_comments_links(); ?>
    </div>
    

    BUT I applied comments on common pages (not posts) and loose the pagination effect.

    How cloud I fix that?

    THANKS

    #651304

    Hi CloudChoice!

    That is because pages do not understand commnets like that, so the function is not working.
    Please take a look at the second reply here
    http://wordpress.stackexchange.com/questions/78457/paginate-comments-links-not-working

    and let us know if it helpful at all

    Regards,
    Basilis

    #651434

    Hi,

    Thanks for the quick response, BUT there is an error on my plate.

    In fact, I don´t have pages with comments, BUT post’s.

    The problem happens when I stopped using the “DEFAULT EDITOR” and use the “AVIA LAYOUT BUILDER”.
    In this case the “AVIA LAYOUT BUILDER” not obeys the primary order to allow comments, forcing me to use the “CONTENT ELEMENT – COMMENTS” to show the comments.

    In this point the pagination stop to work in the POST.

    Some sugestion?

    #652700

    Hi,

    Would you mind providing a precise link to your site, showing the elements in question? We need to be able to inspect them in order to help :)

    Best regards,
    Andy

    #652706

    Hi,

    Of course. The following (privately) links:

    • This reply was modified 8 years, 6 months ago by CloudChoice.
    #654027

    Hi,

    The comments.php contains a pagination function by default. You have to enable the option “Break comments into pages with top level comments per page and the page displayed by default” in the Settings > Discussion panel.

    Best regards,
    Ismael

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