Plugin Directory

Fun with in-context comments

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.

Download

FYI

Compatibility beta

Your Setup

Log in to vote.

The Consensus

No data

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(1 ratings)