get_option('com_paging'), 'comPerpage'=>get_option('com_per_page'), 'numPerpage'=>get_option('num_per_page'), 'pagerPos'=>get_option('pager_pos'), 'repForm'=>get_option('rep_form'), 'gifUrl'=>WP_PLUGIN_URL.'/wp-comment-master/ajax-loader.gif', 'prev'=>get_option('yjlprev'), 'next'=>get_option('yjlnext'), 'timeOut'=>get_option('yjltimeout'), 'fast'=>get_option('yjlfast'), 'thank'=>get_option('yjlthank'), 'order'=>get_option('comment_order'), 'autoGrow'=>get_option('autogrow') )); } } add_action('admin_init', 'wpcm_admin_init'); function wpcm_admin_init(){ wp_enqueue_script('admin_js', WP_PLUGIN_URL.'/wp-comment-master/admin.js',array('jquery'),'',true); } add_action('admin_menu', 'mt_add_pages'); // action function for above hook function mt_add_pages() { add_options_page('WP-comment-master','WP-comment-master', 'level_4', 'WP-comment-master', 'YJL_options'); add_action( 'admin_init', 'register_mysettings' ); } function register_mysettings() { //register our settings register_setting( 'YJL-settings-group', 'com_paging' ); register_setting( 'YJL-settings-group', 'com_per_page' ); register_setting( 'YJL-settings-group', 'num_per_page' ); register_setting( 'YJL-settings-group', 'pager_pos' ); register_setting( 'YJL-settings-group', 'rep_form' ); register_setting( 'YJL-settings-group', 'yjlprev' ); register_setting( 'YJL-settings-group', 'yjlnext' ); register_setting( 'YJL-settings-group', 'yjltimeout' ); register_setting( 'YJL-settings-group', 'yjlfast' ); register_setting( 'YJL-settings-group', 'yjlthank' ); register_setting( 'YJL-settings-group', 'autogrow' ); } function YJL_options() { ?>

WP-Comment-Master Settings:

Reposition the comment form before all comments >Enable >Disable
Textarea autogrow >Enable >Disable
Pagination settings:
Comment Pagination >Enable >Disable
Comments per page
(If you enable threaded comments,threaded comments does not count towards this number.)
Number of page-number to show (default 5)
Page-number position >Before comments
>After comments
>Both before and after comments
Custom output Text:
Default Text: Custom Text:
'Prev'
'Next'
'Error:Server time out,try again!'
'Please slow down,you are posting to fast!'
'Thank you for your comment!'

Thank you for using wp-comment-master, if you have any suggestion,you are very welcom to visit me