Add necessary rendering fields - #45
This commit is contained in:
@ -252,7 +252,7 @@ class CWV2_Admin {
|
|||||||
array(
|
array(
|
||||||
'id' => 'general-settings',
|
'id' => 'general-settings',
|
||||||
'name' => __( 'General Settings', 'content-warning-v2' ),
|
'name' => __( 'General Settings', 'content-warning-v2' ),
|
||||||
'group' => 'default',
|
'group' => 'def_group',
|
||||||
'fields' => array(
|
'fields' => array(
|
||||||
array(
|
array(
|
||||||
'id' => 'sitewide',
|
'id' => 'sitewide',
|
||||||
@ -290,6 +290,13 @@ class CWV2_Admin {
|
|||||||
'desc' => __( 'Time in days for the cookie to expire', 'content-warning-v2' ),
|
'desc' => __( 'Time in days for the cookie to expire', 'content-warning-v2' ),
|
||||||
'type' => 'number',
|
'type' => 'number',
|
||||||
),
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
array(
|
||||||
|
'id' => 'entry-settings',
|
||||||
|
'name' => __( 'Dialog Settings', 'content-warning-v2' ),
|
||||||
|
'group' => 'def_group',
|
||||||
|
'fields' => array(
|
||||||
array(
|
array(
|
||||||
'id' => 'd_title',
|
'id' => 'd_title',
|
||||||
'name' => __( 'Dialog Title', 'content-warning-v2' ),
|
'name' => __( 'Dialog Title', 'content-warning-v2' ),
|
||||||
|
@ -2,4 +2,29 @@
|
|||||||
|
|
||||||
class CWV2_Settings {
|
class CWV2_Settings {
|
||||||
// Stuff
|
// 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() {
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user