advanced-settings.php
1 year ago
basic-settings.php
1 year ago
index.php
1 year ago
list-empty.php
1 year ago
list-empty.php
18 lines
| 1 | <?php |
| 2 | /** |
| 3 | * The empty list state for an ACF taxonomy. |
| 4 | * |
| 5 | * @package wordpress/secure-custom-fields |
| 6 | */ |
| 7 | |
| 8 | ?> |
| 9 | <script>document.body.classList.add('acf-no-taxonomies');</script> |
| 10 | <div class="acf-no-taxonomies-wrapper"> |
| 11 | <div class="acf-no-taxonomies-inner"> |
| 12 | <img src="<?php echo esc_url( acf_get_url( 'assets/images/empty-taxonomies.svg' ) ); ?>" /> |
| 13 | <h2><?php esc_html_e( 'Add Your First Taxonomy', 'secure-custom-fields' ); ?></h2> |
| 14 | <p><?php esc_html_e( 'Create custom taxonomies to classify post type content', 'secure-custom-fields' ); ?></p> |
| 15 | <a href="<?php echo esc_url( admin_url( 'post-new.php?post_type=acf-taxonomy' ) ); ?>" class="acf-btn"><i class="acf-icon acf-icon-plus"></i> <?php esc_html_e( 'Add Taxonomy', 'secure-custom-fields' ); ?></a> |
| 16 | </div> |
| 17 | </div> |
| 18 |