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 - Inject Slides | |
* Plugin URI: http://soliloquywp.com | |
* Version: 1.0 | |
* Author: Tim Carr | |
* Author URI: http://www.n7studios.co.uk | |
* Description: Disable touchswipe on mobile | |
*/ |
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. | |
add_filter( 'optin_monster_data', 'tgm_om_disable_tracking' ); | |
function tgm_om_disable_tracking( $data ) { | |
$data['tracked'] = true; | |
return $data; | |
} |
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 Unset Images Sizes | |
* Plugin URI: http://optinmonster.com/ | |
* Description: Disable the custom image sizes used in the OptinMonster themes. Optins will use full image size instead. | |
* 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 | |
/** | |
* Plugin Name: Envira Gallery - Reload Enviratope on Page Load | |
* Plugin URI: http://enviragallery.com | |
* Version: 1.0 | |
* Author: Erica Franz | |
* Author URI: https://fatpony.me/ | |
* Description: Reload Envira Gallery layouts when page finishes loading. | |
*/ |
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 - Output Custom Slider Item Attributes | |
* Plugin URI: http://soliloquywp.com | |
* Version: 1.0 | |
* Author: Tim Carr | |
* Author URI: http://www.n7studios.co.uk | |
* Description: Add custom HTML attributes to Soliloquy Slider <img> elements | |
*/ |
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_filter( 'optinmonster_output', 'limit_views' ); | |
function limit_views ( $optins ) { | |
// Replace this with your optin slug | |
$optin_slug = 'yf3rluqqcj-lightbox'; | |
// Replace this with the number of views | |
$view_limit = 100; |
NewerOlder