position-horizontal-vertical.php
3 years ago
position-offset.php
5 years ago
template.php
6 years ago
tpl--floating-social.php
6 years ago
tpl--inline-content.php
5 years ago
tpl--position-settings.php
3 years ago
tpl--shortcode.php
10 months ago
tpl--widget.php
3 years ago
template.php
68 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Main template of the display options tab. |
| 4 | * |
| 5 | * @package Hustle |
| 6 | * @since 4.0.0 |
| 7 | */ |
| 8 | |
| 9 | ?> |
| 10 | <div class="sui-box" <?php echo 'display' !== $section ? 'style="display: none;"' : ''; ?> data-tab="display"> |
| 11 | |
| 12 | <div class="sui-box-header"> |
| 13 | |
| 14 | <h2 class="sui-box-title"><?php esc_html_e( 'Display Options', 'hustle' ); ?></h2> |
| 15 | |
| 16 | </div> |
| 17 | |
| 18 | <div id="hustle-wizard-display" class="sui-box-body"> |
| 19 | |
| 20 | <?php |
| 21 | // SETTING: Floating Social. |
| 22 | $this->render( |
| 23 | 'admin/sshare/display-options/tpl--floating-social', |
| 24 | array( 'settings' => $settings ) |
| 25 | ); |
| 26 | |
| 27 | // SETTING: Inline Content. |
| 28 | $this->render( |
| 29 | 'admin/sshare/display-options/tpl--inline-content', |
| 30 | array( 'settings' => $settings ) |
| 31 | ); |
| 32 | |
| 33 | // SETTING: Widget. |
| 34 | $this->render( |
| 35 | 'admin/sshare/display-options/tpl--widget', |
| 36 | array( 'is_widget_enabled' => $settings['widget_enabled'] ) |
| 37 | ); |
| 38 | |
| 39 | // SETTING: Shortcode. |
| 40 | $this->render( |
| 41 | 'admin/sshare/display-options/tpl--shortcode', |
| 42 | array( |
| 43 | 'shortcode_id' => $shortcode_id, |
| 44 | 'is_shortcode_enabled' => $settings['shortcode_enabled'], |
| 45 | ) |
| 46 | ); |
| 47 | ?> |
| 48 | |
| 49 | </div> |
| 50 | |
| 51 | <div class="sui-box-footer"> |
| 52 | |
| 53 | <button class="sui-button wpmudev-button-navigation" data-direction="prev"> |
| 54 | <span class="sui-icon-arrow-left" aria-hidden="true"></span> <?php esc_html_e( 'Services', 'hustle' ); ?> |
| 55 | </button> |
| 56 | |
| 57 | <div class="sui-actions-right"> |
| 58 | |
| 59 | <button class="sui-button sui-button-icon-right wpmudev-button-navigation" data-direction="next"> |
| 60 | <?php esc_html_e( 'Appearance', 'hustle' ); ?> <span class="sui-icon-arrow-right" aria-hidden="true"></span> |
| 61 | </button> |
| 62 | |
| 63 | </div> |
| 64 | |
| 65 | </div> |
| 66 | |
| 67 | </div> |
| 68 |