Add custom notes before or after the comment form.
Author: | Andrew Norcross (profile at wordpress.org) |
WordPress version required: | 3.0 |
WordPress version tested: | 3.6.1 |
Plugin version: | 1.0.0 |
Added to WordPress repository: | 29-09-2013 |
Last updated: | 29-09-2013
Warning! This plugin has not 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.
|
Rating, %: | 100 |
Rated by: | 1 |
Plugin URI: | http://andrewnorcross.com/plugins/ |
Total downloads: | 1 930 |
Active installs: | 10+ |
Click to start download
|
Add custom notes before or after the comment form.
Screenshots
Example of metaboxes
Example of display
FAQ
How does it work?
Activate the plugin and the metaboxes will appear for posts. Use the filter to add more post type support.
Does this work on my custom post type?
Not by default. Use the wpcmn_type_support
filter to add it. Example below:
function cmm_partial_types( $types ) {
$types[] = 'MY_CUSTOM_POST_TYPE';
return $types;
}
add_filter( 'wpcmn_type_support', 'cmm_partial_types' );
Can I add more options to the message type dropdown?
Sure can. Use the wpcmn_before_types
or wpcmn_after_types
filters. Example:
function cmm_more_before( $before_type ) {
$extra = '';
$extra .= '<option value="wild" '.selected( $before_type, 'wild', false ).'>'.__('Wild', 'wpcmn').'</option>';
$extra .= '<option value="crazy" '.selected( $before_type, 'crazy', false ).'>'.__('Crazy', 'wpcmn').'</option>';
return $extra;
}
add_filter( 'wpcmn_before_types', 'cmm_more_before' );
I don’t like the CSS that comes with it
Then write your own. It’s a free country. If you have to disable it, use the wpcmn_killswitch
filter. Example:
function cmm_killswitch() {
return true;
}
add_filter( 'wpcmn_killswitch', 'cmm_killswitch' );
Where is the settings menu?
There isn’t one. On purpose.
They don’t show up on my theme.
Then you’re using a theme / framework that has gone cowboy and done it their own way. I can’t do anything about that.
ChangeLog