تفصیل
Add custom notes before or after the comment form.
انسٹالیشن
This section describes how to install the plugin and get it working.
- Upload
wp-comment-notesto 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.
عمومی سوالات
- 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_supportfilter 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_typesorwpcmn_after_typesfilters. 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_killswitchfilter. 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.
جائزے
There are no reviews for this plugin.
شراکت دار اور ڈیویلپرز
“WP Comment Notes” اوپن سورس سافٹ ویئر ہے۔ مندرجہ ذیل لوگوں نے اس پلگ ان میں حصہ لیا:
شراکت دار“WP Comment Notes” کا اپنی زبان میں ترجمہ کریں۔
ڈویلپمینٹ میں دلچسپی ہے؟
کوڈ براؤز کریں، ایس این وی ریپوزیٹری کو چیک کریں یا ڈویلپمینٹ لاگ کو سبسکرائب کریں بذریعہ آر ایس ایس۔
چینج لاگ
1.0
- First release!


