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
<script type="text/javascript"> | |
var om_load_jquery = false; | |
</script> |
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
$(document).keyup(function(e) { | |
if (e.keyCode == 27) { // escape key maps to keycode `27` | |
if( typeof window.ikhc6rkql15ly9mx !=='undefined') { | |
window.ikhc6rkql15ly9mx.close(true); | |
} | |
} | |
}); |
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 | |
/** | |
* Plugin Name: Genesis - Facebook SDK | |
* Plugin URI: https://fatpony.me/ | |
* Description: Adds the Facebook SDK script just after the opening <body> tag on Genesis Framework sites. | |
* Version: 1.0.0 | |
* Author: Erica Franz | |
* Author URI: https://fatpony.me/ | |
* License: GPL2 | |
*/ |
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
jQuery(document).ready(function($){ | |
$('.manual-optin-trigger').live('mouseover', function() { | |
$(this).trigger('click'); | |
}); | |
}); |
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
jQuery(document).ready(function($){ | |
$('a[rel*=external]').live('mouseover', function() { // When any link contains 'external' in the rel attribute | |
$('.manual-optin-trigger[data-optin-slug=u6mkwuqm0xf6g94d]').trigger('click'); // Change 'u6mkwuqm0xf6g94d' to match your specific optin slug | |
}); | |
}); |
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
jQuery(document).ready(function($){ | |
$('.content').live('mouseover', function() { // When hovering over any element with the '.content' class - change as you require | |
$('.manual-optin-trigger[data-optin-slug=u6mkwuqm0xf6g94d]').trigger('click'); // Change 'u6mkwuqm0xf6g94d' to match your specific optin slug | |
}); | |
}); |
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
jQuery(document).ready(function($) { | |
$(document).on('OptinMonsterLoaded', function(event, data, object){ | |
$('#om-' + data.optin + ' img').attr('data-pin-nopin', 'true'); | |
}); | |
}); |
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
.soliloquy-container .soliloquy-video-icon { | |
background-image: url('http://www.example.com/image.png') !important; | |
background-size: 50% 50% !important; | |
} | |
/* Retina version */ | |
@media only screen and (-webkit-min-device-pixel-ratio: 2), | |
only screen and (min--moz-device-pixel-ratio: 2), | |
only screen and (-o-min-device-pixel-ratio: 2 / 1), | |
only screen and (min-device-pixel-ratio: 2), |
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
jQuery(document).ready(function($){ | |
jQuery(document).on('OptinMonsterBeforeShow', function(event, props, object) { | |
object.setProp('email_error', 'Replace this text with your custom email field error message'); | |
object.setProp('name_error', 'Replace this text with your custom name field error message'); | |
}); | |
}); |
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 | |
/** | |
* Plugin Name: Envira Gallery - Lightbox for Custom Images | |
* Plugin URI: http://enviragallery.com | |
* Version: 2.0 | |
* Author: Erica Franz | |
* Author URI: https://fatpony.me/ | |
* Description: Use the Envira Gallery lightbox for non-gallery images throughout your site. | |
*/ |