advanced-settings.php
1 year ago
basic-settings.php
1 year ago
create-options-page-modal.php
1 year ago
list-empty.php
1 year ago
list-empty.php
24 lines
| 1 | <?php |
| 2 | /** |
| 3 | * The empty list state for an ACF Options Page |
| 4 | * |
| 5 | * @package wordpress/secure-custom-fields |
| 6 | */ |
| 7 | |
| 8 | ?> |
| 9 | <script>document.body.classList.add('acf-no-options-pages');</script> |
| 10 | <div class="acf-no-options-pages-wrapper"> |
| 11 | <div class="acf-no-options-pages-inner"> |
| 12 | <img src="<?php echo esc_url( acf_get_url( 'assets/images/empty-post-types.svg' ) ); ?>" /> |
| 13 | |
| 14 | <?php |
| 15 | $acf_options_pages_title = __( 'Add Your First Options Page', 'secure-custom-fields' ); |
| 16 | ?> |
| 17 | |
| 18 | <h2><?php echo esc_html( $acf_options_pages_title ); ?></h2> |
| 19 | <p><?php echo acf_esc_html( __( 'SCF options pages are custom admin pages for managing global settings via fields. You can create multiple pages and sub-pages.', 'secure-custom-fields' ) ); ?></p> |
| 20 | |
| 21 | <a href="<?php echo esc_url( admin_url( 'post-new.php?post_type=acf-ui-options-page' ) ); ?>" class="acf-btn"><i class="acf-icon acf-icon-plus"></i> <?php esc_html_e( 'Add Options Page', 'secure-custom-fields' ); ?></a> |
| 22 | </div> |
| 23 | </div> |
| 24 |