Allows sentiments (e.g. happy, neutral, outraged etc.) to be attached to comments, aggregated sentiment is available as a pie chart in the admin UI.
Currently, there is no admin UI to override the default sentiments or topics, this is planned for a future release.
However, the default sentiments and topics are just options in the
wp_option database table. The following PHP script, when placed in the root of your WordPress install, can be used to override the default sentiments and topics after the plugin has been installed:
<?php // Load up WordPress include 'wp-load.php'; // Define sentiments/topics (edit as required, but maintaining the data structure) $sentiments = array( array( 'name' => 'Happy', // name is show to the end user 'value' => 'happy' // value is stored in the database ), array( 'name' => 'Neutral', 'value' => 'neutral' ), array( 'name' => 'Outraged', 'value' => 'outraged' ) ); $topics = array( array( 'name' => 'Help', 'value' => 'help' ), array( 'name' => 'Ideas', 'value' => 'ideas' ), array( 'name' => 'Improvements', 'value' => 'improvements' ), array( 'name' => 'Something else', 'value' => 'other', 'default' => 'true' // this will cause Something else to be pre-selected in a drop-down ) ); // Load sentiments/topics update_option('smtr_sentiments', $sentiments); update_option('smtr_topics', $topics); ?>
Requires: 2.9 or higher
Compatible up to: 2.9.2
Last Updated: 7 years ago
Active Installs: Less than 10
Got something to say? Need help?