Linux 软件免费装

Plugin Name

开发者 arickmann
更新时间 2008年6月22日 15:07
捐献地址: 去捐款
PHP版本: 2.5 及以上
WordPress版本: 2.5.2

标签

Comments Context Readers

下载

0.2.5 0.3 0.1.1 0.2 0.2.3 0.2.4

详情介绍:

The plugin lets you set the questions, and possible answers, for commenters to select from when they leave a comment. This is intended for use in situations where you are offering support and need to know what version of a theme, plugin, and / or WordPress the person is used. Although it could be used for other things as well. The questions can be created in two ways. Centrally, and then attached to any post, or they can be set on each post individually. It requires you to insert a template tag into the comments.php file of your theme.

安装:

Add to the plugin directory then turn it on. Once activited you will find that there is a new tab beneath the comments menu called Global Contexts and a new advanced option on the write page called Comment Context. You don't need to modify any files for the plugin to work, it will add all of the necessary content; however, there are two template tags which you can use if you want to change the way the content is output. Filter Fields The following template tag controls where, and how the filter fields are inserted. By default these are included before the comment page is added. The filter title takes either a string, containing the full html for the title, or false, in which case it will use the default title. <?php comment_context_filter_fields( '<h3>Filter Title</h3>' ); ?> If you use this tag then the automatic system that inserts the default tag will turn off, but you will need to load the page twice before you see the difference. Context Fields By default the options that the commenter has are presented underneat the comment area, but you can use the following template tag to change that position: <?php comment_context_fields(); ?> I recommend placing this after the commenters details, but before the comment textarea. As with the other templte tag, using this will prevent the automatic system from including it further on down the page. Now you are ready to use the plugin. Check out the Usage section.