Created
January 21, 2016 04:18
-
-
Save alexmangini/10cf75883394531154f3 to your computer and use it in GitHub Desktop.
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
function kol_md_popups() { | |
if ( ! is_page( 'md-popups' ) ) | |
return; | |
?> | |
<style type="text/css"> | |
@media all and (min-width: 1000px) { | |
.md-popups-content { | |
float: right; | |
width: 546px; | |
} | |
} | |
</style> | |
<div style="background: #1e1e1e;"> | |
<div class="inner" style="background: url('https://kolakube.com/wp-content/uploads/2015/09/md-popups.png') no-repeat bottom left;"> | |
<div class="md-popups-content format-text-main links-white text-white block-double"> | |
<h2>MD Popups <span class="gray badge" style="font-size: 16px;">$50</span></h2> | |
<p class="small-title">A custom popups builder for WordPress and <a href="/marketers-delight/">Marketers Delight</a>. Design exit intent + 2 step optin forms live. No monthly fee.</p> | |
<ul class="small-title list-check"> | |
<li>Build unlimited popups</li> | |
<li>Set custom popups per page</li> | |
<li>Easy shortcode to trigger popups on click</li> | |
</ul> | |
<?php echo do_shortcode( '[md_popup id="mdpopupsvideo" load="true" type="button" text="Watch Video Demo" classes="gray"]' ); ?> | |
<div class="inline"><?php echo do_shortcode( '[purchase_link id="66930" text="Add to cart" style="button" color=""]' ); ?></div> | |
</div> | |
</div> | |
</div> | |
<?php } | |
add_action( 'md_hook_after_header', 'kol_md_popups' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment