Customize the number of comments shown in Wordpress blogs
Wordpress blogs show 20 comments per page by default, and there is no obvious way to change this number. If your blog gets a lot of comments, you'll probably want to increase this number so that you don't end up with pages and pages of comments. If you want to change the number of comments shown per page on your Wordpress blog, you can adjust this by editing a configuration file.
The file to be edited is called edit-comments.php and you'll find it in your wp-admin directory. Edit this file using your editor of choice and look for this line:
Change the value of 20 in this line to be however many comments you'd like to have show up per page. Save the file and your change should take effect immediately.
The file to be edited is called edit-comments.php and you'll find it in your wp-admin directory. Edit this file using your editor of choice and look for this line:
$comments_per_page = apply_filters('comments_per_page', 20, $comment_status);
Change the value of 20 in this line to be however many comments you'd like to have show up per page. Save the file and your change should take effect immediately.
| Rating: | no ratings, 0 total Votes |
| Categories: | wordpress blogs comments customization |
| Added: | on Dec 17, 2008 at 10:12 am |
| Added By: | an anonymous user |
| Searches: | comment blog wordpress page number |

