PluginProbe
Comments Extra Fields For Post,Pages and CPT / 1.7
Comments Extra Fields For Post,Pages and CPT v1.7
trunk 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 2.2 2.3 4.0 4.1 4.2 4.3 4.4 4.5 4.6 4.7 4.8 5.0 5.1 5.2
wp-comment-fields / templates / admin / options.php

options.php in Comments Extra Fields For Post,Pages and CPT 1.7, at templates/admin/options.php

62 lines 1.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 $meatGeneral = array(
4 'comment-heading' => array( 'label' => __('Comment Heading', 'nm-wpcomments'),
5 'desc' => __('Heading will appear before meta, leave blank for none', 'nm-wpcomments'),
6 'id' => 'wpcomments'.'_comment_heading',
7 'type' => 'text',
8 'help' => '',
9 ),
10
11 'comment-postypes' => array( 'label' => __('Post types', 'nm-wpcomments'),
12 'desc' => __('Custom post types separated by commas, leave blank for only posts', 'nm-wpcomments'),
13 'id' => 'wpcomments'.'_comment_posttypes',
14 'type' => 'text',
15 'help' => 'e.g: post, book, animal',
16 ),
17 );
18
19
20
21 $meat_comment_meta = array('comment-meta' => array(
22 'desc' => '$proFeatures',
23 'type' => 'file',
24 'id' => 'file-meta.php',
25 ),
26 );
27
28 $meat_pro_version = array('pro-version' => array(
29 'desc' => '$proFeatures',
30 'type' => 'file',
31 'id' => 'pro.php',
32 ),
33 );
34
35
36 $this -> the_options = array(
37
38 'general-settings' => array( 'name' => __('General Settings', 'nm-wpcomments'),
39 'type' => 'tab',
40 'desc' => __('General settings', 'nm-wpcomments'),
41 'meat' => $meatGeneral,
42 'class' => 'pro',
43
44 ),
45 'comment-meta' => array( 'name' => __('Comment Fields', 'nm-wpcomments'),
46 'type' => 'tab',
47 'desc' => __('More field can be attached to Comments', 'nm-wpcomments'),
48 'meat' => $meat_comment_meta,
49 'class' => 'pro',
50
51 ),
52 'pro-version' => array( 'name' => __('PRO Version', 'nm-wpcomments'),
53 'type' => 'tab',
54 'desc' => '',
55 'meat' => $meat_pro_version,
56 'class' => 'pro',
57
58 ),
59
60 );
61
62 //print_r($repo_options);