summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2021-07-21 16:24:18 -0500
committerZach van Rijn <me@zv.io>2021-07-21 16:24:18 -0500
commit167200504b5a708cfe5779a50b7afc3588da3b6f (patch)
treefbd4e2ba622d4f7d57bdc658bec3477f07c9583b
parent69c17f9c1942fd0d6a5ea941636e87723b8a6fe2 (diff)
downloadblog-ng-167200504b5a708cfe5779a50b7afc3588da3b6f.tar.gz
blog-ng-167200504b5a708cfe5779a50b7afc3588da3b6f.tar.bz2
blog-ng-167200504b5a708cfe5779a50b7afc3588da3b6f.tar.xz
blog-ng-167200504b5a708cfe5779a50b7afc3588da3b6f.zip
Finish admin customizer page.
-rw-r--r--inc/core/builder/class-astra-builder-admin.php44
1 files changed, 0 insertions, 44 deletions
diff --git a/inc/core/builder/class-astra-builder-admin.php b/inc/core/builder/class-astra-builder-admin.php
index 94df3e4..4f29dc8 100644
--- a/inc/core/builder/class-astra-builder-admin.php
+++ b/inc/core/builder/class-astra-builder-admin.php
@@ -59,50 +59,6 @@ final class Astra_Builder_Admin {
$label = ( false !== $status ) ? __( 'Use Old Header/Footer', 'astra' ) : __( 'Use New Header/Footer Builder', 'astra' );
- ?>
- <div class="postbox">
- <h2 class="hndle ast-normal-cursor ast-addon-heading ast-flex">
- <span>
- <?php
- printf(
- /* translators: %1$s: Theme name. */
- esc_html__( '%1$s Header/Footer Builder', 'astra' ),
- esc_html( $astra_theme_title )
- );
- ?>
- </span>
- </h2>
- <div class="inside">
- <div>
- <p>
- <?php
- printf(
- /* translators: %1$s: Theme name. */
- esc_html__( '%1$s Header/Footer Builder is a new and powerful way to design header and footer for your website. With this, you can give a creative look to your header/footer with less effort.', 'astra' ),
- esc_html( $astra_theme_title )
- );
- ?>
- </p>
- <p>
- <?php
- printf(
- /* translators: %1$s: Theme name. */
- esc_html__( 'Activating this feature will add advanced options to %1$s customizer where you can create awesome new designs.', 'astra' ),
- esc_html( $astra_theme_title )
- );
- ?>
- </p>
- <p><?php esc_html_e( 'Note: The header/footer builder will replace the existing header/footer settings in the customizer. This might make your header/footer look a bit different. You can configure header/footer builder settings from customizer to give it a nice look. You can always come back here and switch to your old header/footer.', 'astra' ); ?></p>
- <div class="ast-actions-wrap" style="justify-content: space-between;display: flex;align-items: center;" >
- <a href="<?php echo esc_url( admin_url( '/customize.php' ) ); ?>" class="ast-go-to-customizer"><?php esc_html_e( 'Go to Customizer', 'astra' ); ?></a>
- <div class="ast-actions" style="display: inline-flex;">
- <button href="#" class="button button-primary ast-builder-migrate" style="margin-right:10px;" data-value="<?php echo ( $status ) ? 0 : 1; ?>"><?php echo esc_html( $label ); ?></button>
- </div>
- </div>
- </div>
- </div>
- </div>
- <?php
if ( $status ) {
add_filter( 'astra_quick_settings', array( $this, 'update_customizer_header_footer_link' ) );
}