This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Adds a new tab in the affiliate account. | |
* | |
* @param array $tabs | |
* | |
* @return array | |
* | |
*/ | |
function slicewp_custom_affiliate_account_tabs_custom_tab( $tabs ) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Register my custom email templates | |
* | |
* @param array $email_templates | |
* | |
* @return array | |
* | |
*/ | |
function slicewp_register_my_custom_email_templates( $email_templates ) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* | |
* SliceWP Email Template Name: My Custom Email Template | |
* | |
*/ | |
?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
/* ------------------------------------- | |
* GLOBAL RESETS | |
* ------------------------------------- */ | |
img { | |
border: none; | |
-ms-interpolation-mode: bicubic; | |
max-width: 100%; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- START LOGO --> | |
<?php $email_logo = slicewp_get_setting( 'email_logo' ); ?> | |
<?php if( ! empty( $email_logo ) ): ?> | |
<div class="logo"> | |
<img src="<?php echo esc_url( $email_logo ); ?>" style="max-width: 200px; height: auto;" /> | |
</div> | |
<?php endif; ?> | |
<!-- END LOGO --> | |
<!-- START MAIN CONTENT AREA --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* | |
* SliceWP Email Template Name: My Custom Email Template | |
* | |
*/ | |
?> | |
<!doctype html> | |
<html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media screen and ( max-width: 720px ) { | |
#dpsp-floating-sidebar { display: block !important; left: auto !important; right: 0 !important; } | |
#dpsp-floating-sidebar .dpsp-networks-btns-wrapper .dpsp-network-btn { border-bottom-right-radius: 0 !important; border-top-right-radius: 0 !important; border-bottom-left-radius: 4px !important; border-top-left-radius: 4px !important; } | |
} |
NewerOlder