Last active
August 29, 2015 14:18
-
-
Save chaselivingston/26ecf25089417e84e7ca to your computer and use it in GitHub Desktop.
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
function cl_disable_carousel() { | |
$id = url_to_postid( "http://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'] ); | |
$disable = false; | |
if ($id == 67) { | |
$disable = true; | |
} | |
return $disable; | |
} | |
add_filter('jp_carousel_maybe_disable', 'cl_disable_carousel'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment