|
15 | 15 |
|
16 | 16 | <div class="wrap"> |
17 | 17 |
|
18 | | - <h2><?php echo esc_html( get_admin_page_title() ); ?></h2> |
| 18 | + <h2>Glossary General Settings</h2> |
19 | 19 |
|
20 | 20 | <div id="tabs" class="settings-tab"> |
21 | 21 | <ul> |
|
31 | 31 | 'show_names' => true, |
32 | 32 | ) ); |
33 | 33 | $cmb->add_field( array( |
34 | | - 'name' => __( 'Add support in specific post type', $this->plugin_slug ), |
| 34 | + 'name' => __( 'Enable in:', $this->plugin_slug ), |
35 | 35 | 'id' => 'posttypes', |
36 | 36 | 'type' => 'multicheck_posttype', |
37 | 37 | ) ); |
38 | 38 | $cmb->add_field( array( |
39 | | - 'name' => __( 'Link only the first occurence', $this->plugin_slug ), |
40 | | - 'id' => 'first_occurence', |
41 | | - 'type' => 'checkbox', |
42 | | - ) ); |
43 | | - $cmb->add_field( array( |
44 | | - 'name' => __( 'Choose when enable', $this->plugin_slug ), |
| 39 | + 'name' => __( 'Enable also in following archives:', $this->plugin_slug ), |
45 | 40 | 'id' => 'is', |
46 | 41 | 'type' => 'multicheck', |
47 | 42 | 'options' => array( |
|
53 | 48 | ) |
54 | 49 | ) ); |
55 | 50 | $cmb->add_field( array( |
56 | | - 'name' => __( 'Enable tooltip on terms', $this->plugin_slug ), |
| 51 | + 'name' => __( 'Link only the first occurence', $this->plugin_slug ), |
| 52 | + 'desc' => __('Prevent duplicate links and tooltips in the same post', $this->plugin_slug ), |
| 53 | + 'id' => 'first_occurence', |
| 54 | + 'type' => 'checkbox', |
| 55 | + ) ); |
| 56 | + $cmb->add_field( array( |
| 57 | + 'name' => __( 'Enable tooltips on terms', $this->plugin_slug ), |
| 58 | + 'desc' => __('Tooltip will popup on hover', $this->plugin_slug ), |
57 | 59 | 'id' => 'tooltip', |
58 | 60 | 'type' => 'checkbox', |
59 | 61 | ) ); |
60 | 62 | $cmb->add_field( array( |
61 | 63 | 'name' => __( 'Tooltip style', $this->plugin_slug ), |
| 64 | + 'desc' => __('Only classic will show featured images', $this->plugin_slug ), |
62 | 65 | 'id' => 'tooltip_style', |
63 | 66 | 'type' => 'select', |
64 | 67 | 'options' => array( |
|
68 | 71 | ) |
69 | 72 | ) ); |
70 | 73 | $cmb->add_field( array( |
71 | | - 'name' => __( 'Excerpt char size', $this->plugin_slug ), |
| 74 | + 'name' => __( 'Excerpt length', $this->plugin_slug ), |
72 | 75 | 'id' => 'excerpt_limit', |
73 | 76 | 'type' => 'text_number', |
74 | 77 | 'default' => '60' |
75 | 78 | ) ); |
76 | 79 | $cmb->add_field( array( |
77 | 80 | 'name' => __( 'Enable image in tooltip', $this->plugin_slug ), |
78 | | - 'description' => __( 'Check it if you want also term\'s featured image showing on hover', $this->plugin_slug ), |
| 81 | + 'desc' => __( 'Check it if you want also term\'s featured image in classic tooltips', $this->plugin_slug ), |
79 | 82 | 'id' => 't_image', |
80 | 83 | 'type' => 'checkbox', |
81 | 84 | ) ); |
|
119 | 122 | </div> |
120 | 123 |
|
121 | 124 | <div class="right-column-settings-page metabox-holder"> |
122 | | - <div class="postbox"> |
| 125 | + <div class="postbox codeat"> |
123 | 126 | <h3 class="hndle"><span><?php _e( 'A Codeat Plugin', $this->plugin_slug ); ?></span></h3> |
124 | 127 | <div class="inside"> |
125 | 128 | <a href="http://codeat.co" target="_blank"><img src="http://i2.wp.com/codeat.co/wp-content/uploads/2016/02/cropped-logo-light.png?w=236" alt="Codeat"></a> |
|
0 commit comments