Last active
September 15, 2017 14:16
-
-
Save Perun/524dd5d6fef518f85bc5bcae57c99361 to your computer and use it in GitHub Desktop.
Aktiviert Lightbox-Funktion in WordPress-Themes, die WooCommerce nicht unterstützen:
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( 'after_setup_theme', 'name_des_themes' ); | |
function name_des_themes() { | |
add_theme_support( 'wc-product-gallery-zoom' ); | |
add_theme_support( 'wc-product-gallery-lightbox' ); | |
add_theme_support( 'wc-product-gallery-slider' ); | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment