Contributors: norcross, mordauk
Website Link: http://andrewnorcross.com/plugins/
Donate link: https://andrewnorcross.com/donate
Tags: comments, comment notes, comment
Requires at least: 3.0
Tested up to: 3.6
Stable tag: 1.0.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Add custom notes before or after the comment form.
Add custom notes before or after the comment form.
This section describes how to install the plugin and get it working.
- Upload
wp-comment-notes
to the/wp-content/plugins/
directory. - Activate the plugin through the 'Plugins' menu in WordPress.
- Add some text in the fields on a post
- That's it.
Activate the plugin and the metaboxes will appear for posts. Use the filter to add more post type support.
Not by default. Use the wpcmn_type_support
filter to add it.
Example:
function cmm_partial_types( $types ) {
$types[] = 'MY_CUSTOM_POST_TYPE';
return $types;
}
add_filter( 'wpcmn_type_support', 'cmm_partial_types' );
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' );
Then write your own. It's a free country. If you have to disable it, use the wpcmn_killswitch
filter.
Example:
add_filter( 'wpcmn_killswitch', '__return_true' );
There isn't one. On purpose.
Then you're using a theme / framework that has gone cowboy and done it their own way. I can't do anything about that.
- First release!
- First release!