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 - Image Captions below Thumbnails | |
* Plugin URI: http://enviragallery.com | |
* Version: 1.0 | |
* Author: Tim Carr | |
* Author URI: http://www.n7studios.co.uk | |
* Description: Display captions below images | |
*/ |
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 - Remove License Info | |
* Plugin URI: http://soliloquywp.com | |
* Version: 1.0 | |
* Author: Thomas Griffin | |
* Author URI: http://www.thomasgriffin.io | |
* Description: Removes the Settings menu and license notices. | |
*/ |
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
add_filter( 'envira_gallery_post_type_args', 'filter_envira_search' ); | |
function filter_envira_search( $args ) { | |
$args['exclude_from_search'] = true; | |
return $args; | |
} |
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 - Change YouTube Video Arguments | |
* Plugin URI: http://soliloquywp.com | |
* Version: 1.0 | |
* Author: Tim Carr | |
* Author URI: http://www.n7studios.co.uk | |
* Description: Add, edit or remove arguments for the YouTube Video Slides | |
*/ |
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 - Change Wistia Video Arguments | |
* Plugin URI: http://soliloquywp.com | |
* Version: 1.0 | |
* Author: Erica Franz | |
* Author URI: https://fatpony.me | |
* Description: Add, edit or remove arguments for the Wistia Video Slides | |
*/ |
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 - Reload Soliloquy on Click | |
* Plugin URI: http://soliloquywp.com | |
* Version: 1.0 | |
* Author: Tim Carr | |
* Author URI: http://www.n7studios.co.uk | |
* Description: Registers a click handler to reload Soliloquy layouts. Useful when a Soliloquy slider isn't visible on page load. | |
*/ |
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 default caption output | |
add_filter( 'soliloquy_output_caption', 'soliloquy_empty_default_caption', 10, 5 ); | |
function soliloquy_empty_default_caption( $caption, $id, $slide, $data, $i ) { | |
return $caption; | |
} | |
// add new caption output within the slide item's link tag | |
add_filter( 'soliloquy_output_after_image', 'soliloquy_caption_inside_slide_link', 10, 5 ); | |
function soliloquy_caption_inside_slide_link( $caption, $id, $slide, $data, $i ) { |