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
tpl--widget.php
48 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Widget display type section. |
| 4 | * |
| 5 | * @package Hustle |
| 6 | * @since 4.0.0 |
| 7 | */ |
| 8 | |
| 9 | ?> |
| 10 | <div class="sui-box-settings-row"> |
| 11 | |
| 12 | <div class="sui-box-settings-col-1"> |
| 13 | |
| 14 | <span class="sui-settings-label"><?php esc_html_e( 'Widget', 'hustle' ); ?></span> |
| 15 | |
| 16 | <span class="sui-description"><?php esc_html_e( 'Add a social bar to the sidebars of your website.', 'hustle' ); ?></span> |
| 17 | |
| 18 | </div> |
| 19 | |
| 20 | <div class="sui-box-settings-col-2"> |
| 21 | |
| 22 | <div class="sui-form-field"> |
| 23 | |
| 24 | <label for="hustle-settings--widget-enable" class="sui-toggle hustle-toggle-with-container" data-toggle-on="widget-enabled"> |
| 25 | <input |
| 26 | type="checkbox" |
| 27 | name="widget_enabled" |
| 28 | data-attribute="widget_enabled" |
| 29 | id="hustle-settings--widget-enable" |
| 30 | aria-labelledby="hustle-settings--widget-enable-label" |
| 31 | <?php checked( $is_widget_enabled, '1' ); ?> |
| 32 | /> |
| 33 | <span class="sui-toggle-slider" aria-hidden="true"></span> |
| 34 | |
| 35 | <span id="hustle-settings--widget-enable-label" class="sui-toggle-label"><?php esc_html_e( 'Enable widget module', 'hustle' ); ?></span> |
| 36 | </label> |
| 37 | |
| 38 | <div class="sui-toggle-content" data-toggle-content="widget-enabled"> |
| 39 | <?php /* translators: 1. opening 'strong' tags, 2. opening 'a' tag to the widgets page, 3. closing 'a' and 'strong' tags, 4. Plugin name */ ?> |
| 40 | <span class="sui-description"><?php printf( esc_html__( 'Enabling this will add this module to widget named "%4$s" under the Available Widgets list as a possible option. You can go to %1$sAppearance > %2$sWidgets%3$s and configure this widget to show your social bar in the sidebars.', 'hustle' ), '<strong>', '<a href="' . esc_url( admin_url( 'widgets.php' ) ) . '">', '</a></strong>', esc_html( Opt_In_Utils::get_plugin_name() ) ); ?></span> |
| 41 | </div> |
| 42 | |
| 43 | </div> |
| 44 | |
| 45 | </div> |
| 46 | |
| 47 | </div> |
| 48 |