Add necessary rendering fields - #45

This commit is contained in:
Jay Wood
2016-07-01 16:03:38 -04:00
parent d7f6a1e0db
commit 02806b882c
2 changed files with 33 additions and 1 deletions

View File

@ -252,7 +252,7 @@ class CWV2_Admin {
array(
'id' => 'general-settings',
'name' => __( 'General Settings', 'content-warning-v2' ),
'group' => 'default',
'group' => 'def_group',
'fields' => array(
array(
'id' => 'sitewide',
@ -290,6 +290,13 @@ class CWV2_Admin {
'desc' => __( 'Time in days for the cookie to expire', 'content-warning-v2' ),
'type' => 'number',
),
),
),
array(
'id' => 'entry-settings',
'name' => __( 'Dialog Settings', 'content-warning-v2' ),
'group' => 'def_group',
'fields' => array(
array(
'id' => 'd_title',
'name' => __( 'Dialog Title', 'content-warning-v2' ),

View File

@ -2,4 +2,29 @@
class CWV2_Settings {
// Stuff
public function def_group() {
}
public function check() {
}
public function number() {
}
public function text() {
}
public function radio() {
}
public function media() {
}
public function color() {
}
public function textbox() {
}
}