506 views
in Plugins

Here's a simple plugin to limit the number of comments shown; it still loads all the comments, just hides them after a certain number:

Here's what it looks like:

Exciting, huh?

Set the number of comments to show and customize the text (sing/plural) in admin/plugins.

by
Ooh, awesome! I was gonna do something like this :)
by
Notice: Undefined index: hidden in /home/.../qa-include/qa-theme-base.php on line 1621

notice can be fixed by adding

'hidden' => false,

on line 32, file qa-collapse-layer.php (and maybe same on line 25), result is something like:

$c_list[] = array( 'title' =>$text,
'hidden' => false,
.....
by
thanks, fixed.

+1 vote
by

Okay, I couldn't resist... I see Gideon has added collapsing comments to this site, only backwards.  So, now this plugin does that too:

i love so much all your plugins!! you are my hero!
by
Sorry our work overlapped... :)
by
not at all - always nice to see more features in the core :)