Changeset 580441
- Timestamp:
- 08/01/2012 08:38:37 PM (14 years ago)
- Location:
- jquery-expandable-comments/trunk
- Files:
-
- 2 edited
-
jQuery-comments.php (modified) (1 diff)
-
readme.txt (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
jquery-expandable-comments/trunk/jQuery-comments.php
r579933 r580441 5 5 Description: Makes comment replies expandable with jQuery, and creates "valid" code. 6 6 Author: Shelly Cole 7 Version: 0.2 .17 Version: 0.2 8 8 Author URI: http://brassblogs.com 9 9 -
jquery-expandable-comments/trunk/readme.txt
r579966 r580441 5 5 Requires at least: 3.0 6 6 Tested up to: 3.4.1 7 Stable tag: 0.2.1 7 Stable tag: 0.3 8 License: GPLv2 or later 8 9 9 10 A plugin to make expandable comment replies. … … 14 15 Simple plugin to show/hide comment replies, rather than have them all listed. Also makes the code valid, since divs within list items are invalid HTML, for those of you that like valid code. 15 16 17 16 18 = Features = 17 This keeps most of the default `wp_list_comments` features. The only difference is that the child comments will have the added "`<div class='children'>`" added to it (ol and ul already have this class by default), but also have the div that provides the action to expand the replies. 18 19 Otherwise, you can use anything you would normally use with [wp_list_comments](http://codex.wordpress.org/Function_Reference/wp_list_comments) - callback features, everything - it's all there, so you can re-style however you like. 20 21 This also works with pagination and level depths - if you set "3 comments per page" then 3 top-level comments will show and all replies will display under it. if you have your depth level set to 5, then each level will have it's own show/hide link. 19 This keeps the default [wp_list_comments](http://codex.wordpress.org/Function_Reference/wp_list_comments) features. The only difference is that the child comments will have the added "`<div class='children'>`" added to it (ol and ul already have this class by default). A clickable span that triggers the action to expand the replies is also added. Pagination and level depths are not affected. 22 20 23 21 … … 25 23 26 24 1. Unzip the package. 27 2. Upload t he "jQuery-comments.php" file to your plugins directory.25 2. Upload to your plugins directory. 28 26 3. Go to "Plugins" and activate. 29 27 4. Open up your comments.php file (in the theme you are using) and replace "`wp_list_comments`" with "`bb_list_comments`". Keep any arguments you might be already using, so you don't lose your stuff. … … 35 33 But if you have any, by all means, feel free to ask away. I'd also love input on features you'd like added or things you'd like to see to improve this plugin. See the "Other Notes" section on how to contact me. 36 34 37 This is an initial release, so I expect people will find things that I didn't think of - so feel free to contact me if you run into any bugs, and I'll try to fix it if I can.38 39 35 40 36 == Screenshots == … … 43 39 44 40 == Changelog == 41 42 = 0.3 = 43 * Edited code to better detect what Pages/posts to add the script on. 44 * Added text changing functionality to the "Show/Hide Replies" link, so now it'll say "Show Replies" when child comments are closed, and "Hide Replies" when they are open. 45 45 46 46 = 0.2.1 = … … 57 57 58 58 59 == Upgrade Notice == 60 61 = 0.3 = 62 Added better detection of when to add the script in the header, as well as trigger text that changes based on the open/closed status of the child comments (due to numerous requests). 63 64 59 65 == Other Info == 60 66 61 67 [Contact Shelly](http://brassblogs.com/contact) 62 68 63 If you'd like to re-stylehow the comments are laid out, by all means, visit [Jeremy Clark's](http://clark-technet.com) site - he's got a [great tutorial on using the callback feature](http://clark-technet.com/2008/11/wordpress-27-comment-callback-function/comment-page-3#comment-832) to lay out your comments how you want them to be.69 If you'd like to format how the comments are laid out, by all means, visit [Jeremy Clark's](http://clark-technet.com) site - he's got a [great tutorial on using the callback feature](http://clark-technet.com/2008/11/wordpress-27-comment-callback-function/comment-page-3#comment-832) to lay out your comments how you want them to be. 64 70 65 71 I've also got a blog post explaining this stuff on my site [here](http://brassblogs.com/blog/expandable-comment-replies). 66 72 67 Given that this is free, I offer limited support. Pretty much if you have issues with the plugin *working* I will do whatever I can to help you fix the issue, but when it comes to customization, I'm in limited supply. I'll do what I can, but no guarantees. Pretty muchyour standard "as is" application. In all honesty, ask customization questions in the forums - if I can't help, perhaps someone else can. (If you want to hire me to customize it, that's another story - feel free to contact me to do so!)73 Given that this is free, I offer limited support. If you have issues with the plugin *working* I will do whatever I can to help you fix the issue, but when it comes to customization, I'm in limited supply. I'll do what I can, but no guarantees. This is your standard "as is" application. In all honesty, ask customization questions in the forums - if I can't help, perhaps someone else can. (If you want to hire me to customize it, that's another story - feel free to contact me to do so!)
Note: See TracChangeset
for help on using the changeset viewer.