advanced-settings.php
6 months ago
basic-settings.php
6 months ago
index.php
2 years ago
list-empty.php
6 months ago
list-empty.php
32 lines
| 1 | <?php |
| 2 | /** |
| 3 | * @package ACF |
| 4 | * @author WP Engine |
| 5 | * |
| 6 | * © 2026 Advanced Custom Fields (ACF®). All rights reserved. |
| 7 | * "ACF" is a trademark of WP Engine. |
| 8 | * Licensed under the GNU General Public License v2 or later. |
| 9 | * https://www.gnu.org/licenses/gpl-2.0.html |
| 10 | */ |
| 11 | ?> |
| 12 | <script>document.body.classList.add('acf-no-taxonomies');</script> |
| 13 | <div class="acf-no-taxonomies-wrapper"> |
| 14 | <div class="acf-no-taxonomies-inner"> |
| 15 | <img src="<?php echo esc_url( acf_get_url( 'assets/images/empty-taxonomies.svg' ) ); ?>" /> |
| 16 | <h2><?php esc_html_e( 'Add Your First Taxonomy', 'acf' ); ?></h2> |
| 17 | <p><?php esc_html_e( 'Create custom taxonomies to classify post type content', 'acf' ); ?></p> |
| 18 | <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', 'acf' ); ?></a> |
| 19 | <p class="acf-small"> |
| 20 | <?php |
| 21 | echo acf_esc_html( |
| 22 | sprintf( |
| 23 | /* translators: %s url to getting started guide */ |
| 24 | __( 'New to ACF? Take a look at our <a href="%s" target="_blank">getting started guide</a>.', 'acf' ), |
| 25 | acf_add_url_utm_tags( 'https://www.advancedcustomfields.com/resources/getting-started-with-acf/', 'docs', 'no-taxonomies' ) |
| 26 | ) |
| 27 | ); |
| 28 | ?> |
| 29 | </p> |
| 30 | </div> |
| 31 | </div> |
| 32 |