Linux 软件免费装
Banner图

jQuery Comment Replies

开发者 doodlebee
更新时间 2014年4月17日 09:34
捐献地址: 去捐款
PHP版本: 3.0 及以上
WordPress版本: 3.9
版权: GPLv2 or later

标签

comments jQuery expand replies

下载

1.2.4

详情介绍:

Simple plugin to show/hide comment replies, rather than have them all listed. An options page makes it really easy to change different parts of your comment calls. Features This keeps the default "wp_list_comments()" features. A clickable span that triggers the action to expand the replies is also added. New features are including easing options, as well as allowing images. An options page has been added for further customizations, making it even easier to use.

安装:

  1. Unzip the package.
  2. Upload to your plugins directory.
  3. Go to "Plugins" and activate.
Options Page 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: 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.

屏幕截图:

  • Closed Replies (hidden) Example
  • Open Replies (show) Example

升级注意事项:

1.2.3 ** IMPORTANT ** bb_list_comments() is now deprecated. You WILL need to switch back to wp_list_comments() in your theme files. This should fix the old conflict issue with Spam Free WordPress. I sincerely apologize for the issus with the plugin for the past couple of releases. I had a bit of trouble with the repository, and now all the issues have been resolved.

常见问题:

How do I use an image for the Show/Hide Replies text?

If you want to use an image in place of (or with) the text, then use CSS to pull that off (this example has the image, named "sprite.png", uploaded to the theme's images directory). An example: .replylink span { display:inline-block; background:url("images/sprite.png") no-repeat left top; width:20px; height:20px; overflow:hidden; line-height:50px; /* make text disappear */ }

No other questions at this time.

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. Please also note that, even though I have a disclaimer about my limited availability to assist, I ALWAYS try to help out as much as I can - which is evidenced by the "Support" thread. WordPress does not give me any notice whensomeone leaves a support question on the forums - you have to rely on me having the time to come in and check - and these days that's not often. I try to get in to check as often as I can, but if it's been more than a week since you've left a question on support, please email me so I can try to help you out. And PLEASE do not leave support questions in the "reviews" section. If I help you out and solve your problem (which is usually the case) you cannot change your review. I've found, lately, that a lot of people are having a problem, leaving a bad review and terrible rating, and then I solve the problem (and it usually turns out it's not my plugin that was the issue in the first place). That doesn't help anyone. Please leave support questions in the support forum section, and actual reviews in the "reviews" section. Thank you.

更新日志:

1.2.4 1.2.2 1.2.1 1.2 1.1 1.0 0.3 0.2.1 0.2 0.1