conditional-logic.php
1 year ago
field.php
2 months ago
fields.php
2 months ago
index.php
1 year ago
list-empty.php
8 months ago
location-group.php
1 year ago
location-rule.php
8 months ago
locations.php
8 months ago
options.php
8 months ago
list-empty.php
22 lines
| 1 | <?php |
| 2 | /** |
| 3 | * The empty list state for an ACF field group |
| 4 | * |
| 5 | * @package wordpress/secure-custom-fields |
| 6 | */ |
| 7 | |
| 8 | ?> |
| 9 | <script>document.body.classList.add('acf-no-field-groups');</script> |
| 10 | <div class="acf-no-field-groups-wrapper"> |
| 11 | <div class="acf-no-field-groups-inner"> |
| 12 | <img src="<?php echo esc_url( acf_get_url( 'assets/images/empty-group.svg' ) ); ?>" /> |
| 13 | <h2><?php esc_html_e( 'Add Your First Field Group', 'secure-custom-fields' ); ?></h2> |
| 14 | <p> |
| 15 | <?php |
| 16 | echo acf_esc_html( __( 'SCF uses field groups to group custom fields together, and then attach those fields to edit screens.', 'secure-custom-fields' ) ); |
| 17 | ?> |
| 18 | </p> |
| 19 | <a href="<?php echo esc_url( admin_url( 'post-new.php?post_type=acf-field-group' ) ); ?>" class="acf-btn"><i class="acf-icon acf-icon-plus"></i> <?php esc_html_e( 'Add Field Group', 'secure-custom-fields' ); ?></a> |
| 20 | </div> |
| 21 | </div> |
| 22 |