Wordpress: Issues trying to display all comments in one page
Posted
by KeyStroke
on Stack Overflow
See other posts from Stack Overflow
or by KeyStroke
Published on 2010-06-06T12:02:43Z
Indexed on
2010/06/06
12:12 UTC
Read the original article
Hit count: 212
Wordpress
Hi,
I'm trying to modify my wordpress theme (inove) to display all comments in the same page instead of 50 comments per page.
I opened the comments.php file, commented out calls to paginate_comments_links() and and set the wp_list_comments() as follows:
wp_list_comments('type=comment&callback=custom_comments&per_page=100&page=1');
The problem is, whenever someone posts a comments, the comment form appends '/comment-page-2/' to the URL after submitting the comment, even though I've specified that all comments to be displayed on the same page.
Any idea what I could be missing?
Appreciate your help
© Stack Overflow or respective owner