This tutorial explains how to increase the default number of comments shown on the WordPress Admin Comments Editor page, by editing edit-comments.php.
Dunno about you, but life's too short to be clicking thru' all those view/edit comments pages, with only 20 listed by default per page. Let's sort that.
Problem: Too darned popular. OK .. maybe it's all the damn spam, mam.
Solution: Hack the WordPress code.
"Blank box to top-notch web server"
- plain English copy/paste tutorials with video
- written for VPS beginners and Linux newbies
- perfect for multiple sites, blogs & more
- Fast. Secure. Future-proofed. Cheap-as-chips!
- "Wow!!" "godsend!!" "GREAT!!!" "awesome"
Ubuntu & Debian, Nginx (beats Apache), MySQL, PHP-FPM, Xcache, WordPress, WP MU, Drupal etccccc
So I get back from a few days hols and, having clearly neglected my blog, crack it open to find a fistful of comments. Shucks. I can feel a hack coming on.
Googling "wordpress how display more than 20 comments", up pops the splendid Woopran John P's OneMansBlog, a resource that rarely fails to tease. Then again, being WordPress, John's fix is outdated, so I figured I'd tweak his solution, and here's the deal. (Course, this fix will be outfoxed eventually too. Such is strife.)
Goto the root of your WordPress installation and, from there, open the file wp-admin/edit-comments.php
Search for the line:-
$comments_per_page = 20;
Swap the default 20 to however many comments you want to see per page. I figure 50 comments is about right for guvnr.
Save the file.
Thassit. Except ..
When you upgrade WordPress, you'll have to do that again but, hey, it's a whole lot quicker than clicking through all those pages, so you will save lots of time.
If you liked that ...
-
Having your blog hacked isn't fun, and the standard WordPress installation is not impermeable. Not only does a hacked blog result in downtime, while you work with your ISP to track the problem and ensure it [...]
-
Give your site a design lift with this simple CSS code snippet. Simply choose a radius and drop it in a div for a real easy way to add curves without any images or javascript.
This is super-fast to do and works for [...]
-
Buying online? Wanna save a few bucks? Got 5 mins?
This video shows you how, using promotion coupon codes, nice 'n easy.
It's not exactly a science, but online shoppers after a bargain often fall short when it [...]
-
If you've tried upgrading a recent version of WordPress and received this error...
Fatal error: Cannot redeclare pclziputilpathreduction()
...here's what you do.
In a nutshell, deactivate the plugin "WordPress [...]
-
One of the great things about the WordPress blog platform is how adaptable it is. Need some special functionality? There's bound to be a plugin - an extension - that will help.
This tutorial, complete with [...]
-
If you're using nginx, and your domain name exceeds 32 characters, you may receive an error message when you restart the web server.
Quite likely, you need to tell nginx to allow for longer domain names.
To do so, [...]
... maybe you'll like these?
Boy80 October 23rd, 2009 at 12:40 am
Thunderbird 3: I love Firefox but it loads pages slowly. ,
WP Edit March 21st, 2010 at 4:56 pm
I need a wordpress comment hack.
http://www.google.com
the_guv April 1st, 2010 at 3:28 am
@WP Edit .. er, whaddyamean?
Moore April 2nd, 2010 at 5:08 pm
What makes us such good friends?
the_guv April 19th, 2010 at 8:37 am
@Moore .. no friend of mine m8 .. you're a common spammer and I removed your email and url