Server : nginx/1.24.0 System : Linux ip-172-31-33-48 6.14.0-1011-aws #11~24.04.1-Ubuntu SMP Fri Aug 1 02:07:25 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE Directory : /var/www/html/wp-content/plugins/ocean-extra/includes/themepanel/views/panes/ |
Upload File : |
<h3 class="oceanwp-tp-block-description"> <?php esc_html_e( 'Access specific Customizer control settings quickly.', 'ocean-extra' ); ?> </h3> <div class="quick-settings-block clr"> <div class="quick-settings clr"> <?php if ( function_exists ( 'owp_get_customizer_options' ) ) { $options = owp_get_customizer_options(); } else { $options = get_options(); } // Loop through options foreach ( $options as $key => $val ) : // Var $label = isset( $val['label'] ) ? $val['label'] : ''; $desc = isset( $val['desc'] ) ? $val['desc'] : ''; $icon = isset( $val['icon'] ) ? $val['icon'] : ''; $panel = isset( $val['panel'] ) ? $val['panel'] : false; $section = isset( $val['section'] ) ? $val['section'] : false; $id = $key; $customizer_autofocus = isset( $val['customizer_autofocus'] ) ? $val['customizer_autofocus'] : $id; if ( true === $panel ) { $focus = 'panel'; } else if ( true === $section ) { $focus = 'section'; } else { $focus = 'control'; } ?> <div class="oceanwp-tp-quick-settings-block column-wrap"> <img class="oceanwp-tp-block-image-small" src="<?php echo esc_url( OCEANWP_THEME_PANEL_URI . '/assets/images/icons/quick-settings/' . $icon ); ?>" /> <h3 class="title"><?php echo esc_attr( $label ); ?></h3> <?php if ( $desc ) { ?> <p class="desc"><?php echo esc_attr( $desc ); ?></p> <?php } ?> <div class="bottom-column"> <a class="option-link button blue" href="<?php echo esc_url( admin_url( 'customize.php?autofocus[' . $focus . ']=' . $customizer_autofocus . '' ) ); ?>" target="_blank"><?php esc_html_e( 'Go Now', 'ocean-wp' ); ?></a> </div> </div> <?php endforeach; ?> </div> </div>