|
1350 | 1350 | CSF::createSection( $prefix, array( |
1351 | 1351 | 'parent' => 'editor_fields', |
1352 | 1352 | '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>', |
1354 | 1354 | 'fields' => array( |
1355 | 1355 |
|
1356 | 1356 | array( |
|
1423 | 1423 | CSF::createSection( $prefix, array( |
1424 | 1424 | 'parent' => 'editor_fields', |
1425 | 1425 | '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>', |
1427 | 1427 | 'fields' => array( |
1428 | 1428 |
|
1429 | 1429 | array( |
|
1500 | 1500 | CSF::createSection( $prefix, array( |
1501 | 1501 | 'parent' => 'color_fields', |
1502 | 1502 | '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>', |
1504 | 1504 | 'fields' => array( |
1505 | 1505 |
|
1506 | 1506 | array( |
|
1539 | 1539 | CSF::createSection( $prefix, array( |
1540 | 1540 | 'parent' => 'color_fields', |
1541 | 1541 | '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>', |
1543 | 1543 | 'fields' => array( |
1544 | 1544 |
|
1545 | 1545 | array( |
|
2300 | 2300 | 'parent' => 'additional_fields', |
2301 | 2301 | 'title' => 'Image Select', |
2302 | 2302 | '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>', |
2304 | 2304 | 'fields' => array( |
2305 | 2305 |
|
2306 | 2306 | array( |
|
2372 | 2372 | 'parent' => 'additional_fields', |
2373 | 2373 | 'title' => 'Button Set', |
2374 | 2374 | '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>', |
2376 | 2376 | 'fields' => array( |
2377 | 2377 |
|
2378 | 2378 | array( |
|
2738 | 2738 | 'validate' => 'csf_validate_required', |
2739 | 2739 | ), |
2740 | 2740 |
|
| 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 | + |
2741 | 2750 | ) |
2742 | 2751 | ) ); |
2743 | 2752 |
|
|
0 commit comments