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 optin_monster_exclude_from_search( $args ) { | |
$args['exclude_from_search'] = true; | |
return $args; | |
} | |
add_filter( 'optin_monster_post_type_args', 'optin_monster_exclude_from_search' ); |
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: Soliloquy - Autoplay Video Slides | |
* Plugin URI: http://soliloquywp.com/ | |
* Description: Autoplay video sliders in Soliloquy. Works with all video types (self-hosted, YouTube, Vimeo and Wistia). | |
* 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
<?php //* <--- Do not include this opening tag or site may implode | |
// Add to the allowed tags array and hook into Init | |
function om_monsterlinks_allowed_tags() { | |
global $allowedtags; | |
$allowedtags['a'] = array('style'=>array( | |
'data-optin-slug' => true, | |
),); | |
} | |
add_action('init', 'om_monsterlinks_allowed_tags', 10); |
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
#BEGIN Force SSL | |
RewriteEngine On | |
RewriteCond %{HTTPS} !=on | |
RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R=301,L] | |
#END Force SSL |
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: OptinMonster - Remove Optins on Mobile Devices | |
* Plugin URI: http://optinmonster.com/ | |
* Description: Remove all OptinMonster optins from mobile devices using wp_is_mobile(); | |
* 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
/** Remove the close icon from Envira Gallery lightbox view. **/ | |
.envirabox-wrap a.envirabox-close { display: none; } |
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
// Target the first linked image in the gallery - best when loading a single gallery on the page | |
jQuery(window).load(function(){ | |
jQuery(".envira-gallery-wrap .envira-gallery-item:first-child a").trigger('click'); | |
}); |