Plugin Directory

Test out the new Plugin Directory and let us know what you think.
!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Voight Kampff Comment Test

Add additional fields to your comment forms to prevent spam, survey your users, or quiz them before they leave a comment.


Shortcode Defaults

The shortcode defaults are both the settings for the default question which will appear on your site and the default settings if you use the [vkct] shortcode without any options.

  1. Require answer - If this is checked, a user must enter an answer before leaving a comment.
  2. Display with comment - Above | Below | None - This will set where the users entered information appears in their comment. Use None if you don't want it to display.
  3. Default Question - The question that will appear by default.
  4. Default Answer - If you want to require a near match to the default answer in order to submit a comment, enter it here. If this field is blank, any answer will be accepted.

Note - Answers given are done by near match. Common punctuation is stripped and the answer is converted to all lowercase. So, if the answer you are expecting is “Philip K. Dick”, then “philipkdick” or “Philip K Dick” would be accepted, but “Phillip K Dick” would be rejected.

Global Defaults

These settings affect all of the VKCT fields.

  1. Use default question - If checked, this will add the default question to every comment section on your site. Uncheck if you only want questions to appear on posts in which you include the [vkct] shortcode.
  2. Ask logged in users to answer - Never | When using shortcode | Always - This setting will determine whether or not logged in users see the question. Settings this to 'When using shortcode' will allow you to use the default question as a spam filter, but still require registered users to answer alternate questions generated through the shortcode.
  3. Required text indicator - Change the required indicator on the comments form. Accepts <span>, <small>, <b>, and <i> as HTML markup. Defaults to *.
  4. Question / answer display format - Change the HTML markup of the displayed question and answer. The actual question and answer will appear where 'question' and 'answer' are in this field. Accepts <p>, <span>, <small>, <b>, and <i> as HTML markup.

Using the VKCT shortcode

    question = 'any string'
    required = 'true' or 'false'
    display = 'above' 'below' or 'none'
    answer = 'any string' or 'Option1#!Option2#!Option3' or '#!Option1#!Option2#!Option3' ]

For the answer option, any string (e.g. 'Answer') will generate a text field input. A list of options separated with a hashbang (#!) will generate a dropdown menu, with Option 1 selected as the default. If you start the list with a hashbang, the first choice will be an empty field, which, if the field is required, will require the user to select an option before posting a comment.

Example shortcode usage

You wrote a post on PHP frameworks, and want any one who is going to leave a comment to indicate what their favorite framework is. Adding [vkct question="What is your favorite framework?" required = "true" answer = "#!Cake PHP#!Yii#!Zend"] will add a dropdown menu to the comment section from which the user will have to chose from Cake PHP, Yii, or Zend, and if they do not choose an answer, their comment will be rejected.

Requires: 3.0 or higher
Compatible up to: 3.5.2
Last Updated: 4 years ago
Active Installs: Less than 10


0 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.