position-horizontal-vertical.php
5 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
5 years ago
tpl--shortcode.php
6 years ago
tpl--widget.php
5 years ago
tpl--inline-content.php
59 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Inline 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( 'Inline Content', 'hustle' ); ?></span> |
| 15 | |
| 16 | <span class="sui-description"><?php esc_html_e( 'Add a social bar inline to your website’s posts and pages.', 'hustle' ); ?></span> |
| 17 | |
| 18 | </div> |
| 19 | |
| 20 | <div class="sui-box-settings-col-2"> |
| 21 | |
| 22 | <?php |
| 23 | // SETTINGS: Enable inline module. |
| 24 | $this->render( |
| 25 | 'admin/sshare/display-options/tpl--position-settings', |
| 26 | array( |
| 27 | 'label' => esc_html__( 'inline module', 'hustle' ), |
| 28 | /* translators: strong HTML-tag. */ |
| 29 | 'description' => sprintf( esc_html__( 'Add your social bar above the page content, below it, or at both locations on any page that uses the %1$s"the_content()"%2$s method (e.g. Posts, Pages, etc.) for displaying content.', 'hustle' ), '<strong>', '</strong>' ), |
| 30 | 'prefix' => 'inline', |
| 31 | 'settings' => $settings, |
| 32 | 'offset_x' => false, |
| 33 | 'offset_y' => false, |
| 34 | 'alignment' => true, |
| 35 | 'positions' => array( |
| 36 | 'below' => array( |
| 37 | 'label' => esc_html__( 'Below', 'hustle' ), |
| 38 | 'image1x' => 'social-position/inline-below.png', |
| 39 | 'image2x' => 'social-position/inline-below@2x.png', |
| 40 | ), |
| 41 | 'above' => array( |
| 42 | 'label' => esc_html__( 'Above', 'hustle' ), |
| 43 | 'image1x' => 'social-position/inline-above.png', |
| 44 | 'image2x' => 'social-position/inline-above@2x.png', |
| 45 | ), |
| 46 | 'both' => array( |
| 47 | 'label' => esc_html__( 'Both', 'hustle' ), |
| 48 | 'image1x' => 'social-position/inline-both.png', |
| 49 | 'image2x' => 'social-position/inline-both@2x.png', |
| 50 | ), |
| 51 | ), |
| 52 | ) |
| 53 | ); |
| 54 | ?> |
| 55 | |
| 56 | </div> |
| 57 | |
| 58 | </div> |
| 59 |