Skip to content

Commit

Permalink
Merge pull request #792 from live-composer/issue/780
Browse files Browse the repository at this point in the history
Issue/780
  • Loading branch information
Dima authored Sep 8, 2017
2 parents 7ccbd8a + 3806930 commit 5d9ceb7
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions modules/social/module.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,12 @@ function options() {
'std' => '',
'type' => 'text',
),
array(
'label' => __( 'Email', 'live-composer-page-builder' ),
'id' => 'email',
'std' => '',
'type' => 'text',
),

/**
* Styling
Expand Down Expand Up @@ -951,6 +957,14 @@ function output( $options ) {
<?php endif; ?>
</li>
<?php endif; ?>
<?php if ( isset( $options['email'] ) && $options['email'] != '' ) : ?>
<li>
<a class="dslc-social-icon" target="_blank" href="<?php echo $options['email']; ?>"><span class="dslc-icon dslc-icon-envelope"></span></a>
<?php if ( $options['show_labels'] == 'enabled' ) : ?>
<a class="dslc-social-label" target="_blank" href="<?php echo $options['email']; ?>"><span><?php _e( 'Email', 'live-composer-page-builder' ); ?></span></a>
<?php endif; ?>
</li>
<?php endif; ?>
</ul>

</div><!-- .dslc-social-wrap -->
Expand Down

0 comments on commit 5d9ceb7

Please sign in to comment.