html-admin-form-top.php
| 1 | <?php |
| 2 | global $title, $post_new_file, $post_type_object, $post; |
| 3 | $title_placeholder = apply_filters( 'enter_title_here', __( 'Add title' ), $post ); |
| 4 | ?> |
| 5 | <div class="acf-headerbar acf-headerbar-field-editor"> |
| 6 | <div class="acf-headerbar-inner"> |
| 7 | |
| 8 | <div class="acf-headerbar-content"> |
| 9 | <h1 class="acf-page-title"> |
| 10 | <?php |
| 11 | echo esc_html( $title ); |
| 12 | ?> |
| 13 | </h1> |
| 14 | <div class="acf-title-wrap"> |
| 15 | <label class="screen-reader-text" id="title-prompt-text" for="title"><?php echo $title_placeholder; ?></label> |
| 16 | <input form="post" type="text" name="post_title" size="30" value="<?php echo esc_attr( $post->post_title ); ?>" id="title" class="acf-headerbar-title-field" spellcheck="true" autocomplete="off" placeholder="<?php esc_attr_e( 'Field Group Title', 'acf' ); ?>" /> |
| 17 | </div> |
| 18 | </div> |
| 19 | |
| 20 | <div class="acf-headerbar-actions"> |
| 21 | <a href="#" class="acf-btn acf-btn-secondary add-field"><i class="acf-icon acf-icon-plus"></i><?php _e( 'Add Field', 'acf' ); ?></a> |
| 22 | <button form="post" class="acf-btn acf-publish" type="submit"><?php _e( 'Save Changes', 'acf' ); ?></button> |
| 23 | </div> |
| 24 | |
| 25 | </div> |
| 26 | </div> |
| 27 |