Skip to content

Commit 7b90af6

Browse files
committed
improved documentation links
1 parent bc1aa86 commit 7b90af6

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

samples/options.samples.php

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1350,7 +1350,7 @@
13501350
CSF::createSection( $prefix, array(
13511351
'parent' => 'editor_fields',
13521352
'title' => 'Code Editor',
1353-
'description' => 'Visit documentation for more details on this field: <a href="http://codestarframework.com/documentation/#/fields?id=code_editor" target="_blank">Field: code_editor</a>',
1353+
'description' => 'Visit documentation for more details on this field: <a href="http://codestarframework.com/documentation/#/fields?id=code-editor" target="_blank">Field: code_editor</a>',
13541354
'fields' => array(
13551355

13561356
array(
@@ -1423,7 +1423,7 @@
14231423
CSF::createSection( $prefix, array(
14241424
'parent' => 'editor_fields',
14251425
'title' => 'WP Editor',
1426-
'description' => 'Visit documentation for more details on this field: <a href="http://codestarframework.com/documentation/#/fields?id=wp_editor" target="_blank">Field: wp_editor</a>',
1426+
'description' => 'Visit documentation for more details on this field: <a href="http://codestarframework.com/documentation/#/fields?id=wp-editor" target="_blank">Field: wp_editor</a>',
14271427
'fields' => array(
14281428

14291429
array(
@@ -1500,7 +1500,7 @@
15001500
CSF::createSection( $prefix, array(
15011501
'parent' => 'color_fields',
15021502
'title' => 'Link Color',
1503-
'description' => 'Visit documentation for more details on this field: <a href="http://codestarframework.com/documentation/#/fields?id=link_color" target="_blank">Field: link_color</a>',
1503+
'description' => 'Visit documentation for more details on this field: <a href="http://codestarframework.com/documentation/#/fields?id=link-color" target="_blank">Field: link_color</a>',
15041504
'fields' => array(
15051505

15061506
array(
@@ -1539,7 +1539,7 @@
15391539
CSF::createSection( $prefix, array(
15401540
'parent' => 'color_fields',
15411541
'title' => 'Color Group',
1542-
'description' => 'Visit documentation for more details on this field: <a href="http://codestarframework.com/documentation/#/fields?id=color_group" target="_blank">Field: color_group</a>',
1542+
'description' => 'Visit documentation for more details on this field: <a href="http://codestarframework.com/documentation/#/fields?id=color-group" target="_blank">Field: color_group</a>',
15431543
'fields' => array(
15441544

15451545
array(
@@ -2300,7 +2300,7 @@
23002300
'parent' => 'additional_fields',
23012301
'title' => 'Image Select',
23022302
'icon' => 'fa fa-th',
2303-
'description' => 'Visit documentation for more details on this field: <a href="http://codestarframework.com/documentation/#/fields?id=image_select" target="_blank">Field: image_select</a>',
2303+
'description' => 'Visit documentation for more details on this field: <a href="http://codestarframework.com/documentation/#/fields?id=image-select" target="_blank">Field: image_select</a>',
23042304
'fields' => array(
23052305

23062306
array(
@@ -2372,7 +2372,7 @@
23722372
'parent' => 'additional_fields',
23732373
'title' => 'Button Set',
23742374
'icon' => 'fa fa-ellipsis-h',
2375-
'description' => 'Visit documentation for more details on this field: <a href="http://codestarframework.com/documentation/#/fields?id=button_set" target="_blank">Field: button_set</a>',
2375+
'description' => 'Visit documentation for more details on this field: <a href="http://codestarframework.com/documentation/#/fields?id=button-set" target="_blank">Field: button_set</a>',
23762376
'fields' => array(
23772377

23782378
array(
@@ -2738,6 +2738,15 @@
27382738
'validate' => 'csf_validate_required',
27392739
),
27402740

2741+
array(
2742+
'id' => 'opt-validate-4',
2743+
'type' => 'text',
2744+
'title' => 'URL validate',
2745+
'subtitle' => 'This text field only allows validated url address.',
2746+
'default' => 'Lorem ipsum value',
2747+
'validate' => 'csf_validate_url',
2748+
),
2749+
27412750
)
27422751
) );
27432752

0 commit comments

Comments
 (0)