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