Created
November 4, 2013 20:17
-
-
Save thomasgriffin/7308584 to your computer and use it in GitHub Desktop.
Blank canvas for styling a Soliloquy slider.
This file contains 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( 'tgmsp_before_slider_output', 'tgm_custom_slider_theme' ); | |
function tgm_custom_slider_of_madness( $id ) { | |
// If not the proper slider ID, do nothing. Change to match your slider ID. | |
if ( '324' !== $id ) return; | |
// Dequeue the default styles. | |
wp_dequeue_style( 'soliloquy-style' ); | |
// You can enqueue any stylesheet you would like here for the slider. For best results, target the slider uniquely via IDs. | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for this snippet however it looks like this needs updating. Any custom CSS i add to the child theme does not work in Chrome and Safari.