Make your multi-level comment replies show on demand with a slick jQuery slideToggle() action.
The items you can mess with here will edit the arguments for wp_list_comments(), so you no longer need to add arguments to your call. In fact, if you have arguments in your bb_list_comments call, they will be ignored (but if they are there, it won't break anything). The only sections to comment on (because they are not a part of the Codex) are:
Show Replies Text/Hide Replies Text. These items are the text you set for the show/hide links.
Stylesheets. The plugin will see what theme you are using. If you're using a default WordPress theme, then styles will be applied that match your active theme. Otherwise, no styles will be applied. You can go to the wp-content/plugins/jquery-expandable-comments/css folder and use any of these stylesheets as a reference to style it yourself in your own theme stylesheet.
Slide Speed (both open and close). This is the speed of the animation for opening and closing the replies. You can use "fast" or "slow"; or set how long (in milliseconds) you want the animation to take.
Easing Type. The jQuery Easing plugin has been added so you have more animation options. Simply choose which animation you want to use, and it will be applied to both the opening and closing of replies.
I'll also comment on the "callback" section - it is discussed in the codex, but there's no example of how to use it. If you want to format the layout of your comments, then you need to use a callback function to rearrange the HTML. This plugin comes with a callback function you can use. It's NOT set as the default. If you'd like to use it, enter in
bb_jcr_format_comment to this text field, and your comment layout will use the callback supplied in the plugin. if you still want to edit the layout, feel free to copy the function (located within jQuery-comments.php, around line 73) and paste it into your theme's functions.php file. You WILL have to rename the function, or you'll get a fatal error. Once you rename the function, take that name and pop it into the "callback" field on the settings page, then feel free to edit the function to get the exact layout you want to have.
There's several tutorials available for how to edit the comment layout, but Jeremy Clark's is the one that actually started this plugin.
Requires: 3.0 or higher
Compatible up to: 3.9.15
Last Updated: 3 years ago
Active Installs: 90+
Got something to say? Need help?