Last active
July 11, 2017 18:13
-
-
Save rgadon107/72f5aec2ee74fb4dcfe81b63a49ef6e0 to your computer and use it in GitHub Desktop.
Popup Maker Code Gist for theme functions.php file for 'royaltruckandequipment.com'
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 | |
add_action( 'wp_footer', 'my_custom_popup_scripts', 500 ); | |
function my_custom_popup_scripts() { ?> | |
<script type="text/javascript"> | |
(function ($, document, undefined) { | |
$('#popmake-2686 .pum-content a').click(function (e) { $('#popmake-2686').trigger('pumSetCookie'); }); | |
}(jQuery, document)) | |
</script><?php | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment