Created
April 25, 2021 13:52
-
-
Save braddalton/c40798c94e78d5ed41e84b7129b2376b to your computer and use it in GitHub Desktop.
Genesis Featured Image Lightbox http://wpsites.net/download/101989/
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
add_action( 'wp_enqueue_scripts', 'genesis_enqueue_lightbox_script_styles' ); | |
function genesis_enqueue_lightbox_script_styles() { | |
wp_enqueue_script( 'lightbox-js', get_stylesheet_directory_uri() . '/lightbox.js', [ 'jquery' ], genesis_get_theme_version(), true ); | |
wp_enqueue_style( 'lightbox-styles', get_stylesheet_directory_uri() . '/lightbox.css', [], genesis_get_theme_version() ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment