This plugin displays the total number of threaded conversations contained within a post's comments. Coders can call the function directly.
NOTE: Please do NOT use the WordPress forums to seek support for this plugin. Support for GSTC is handled on our own site.
No theme modifications are required to use this plugin -- the plugin's settings page enables you to specify which pages should include a conversation total. If you'd like more flexibility, however, you can call the plugin's core function directly.
Just enable the plugin and visit Settings -> Show Total Conversations to configure your preferences.
You can show the conversations total by calling the following function directly, preferably wrapped in a conditional which tests whether the function exists (i.e., tests whether the plugin is enabled):
<?php gstc_show_discussions_number_manually(); ?>
This function takes optional parameters specifying your preferred message for zero conversations, one conversation, or more than one conversation. The parameters work exactly like those for the built-in WordPress function
<?php gstc_show_discussions_number_manually($zero, $one, $more); ?>
% in the parameter
$more will be replaced with the conversation total.
You can deactivate Greg's Show Total Conversations plugin via the plugins administration page, and your preferences will be saved for the next time you enable it.
However, if you would like to remove the plugin completely, just disable it via the plugins administration page, then select it from the list of recently deactivated plugins and choose "Delete" from the admin menu. This will not only delete the plugin, but will also run a special routine included with the plugin which will completely remove its preferences from the database.
Requires: 2.7 or higher
Compatible up to: 4.4b4
Last Updated: 2 weeks ago
Active Installs: 40+
Got something to say? Need help?