Answer the question
In order to leave comments, you need to log in
Gallery not working in self-written theme?
Hello. The gallery does not work in a self-written theme, both built-in and the plugin (Responsive Lightbox). In a standard theme or any other, it displays all the rules. Based on the Underscores theme. The Woocommerce plugin is also installed. I already saw a similar question here - <?php wp_head() ?> is in place :)
Who knows what could be the trouble, please help...
Answer the question
In order to leave comments, you need to log in
In general, I found the reason:
wp_deregister_script('jquery');
wp_register_script('jquery', get_template_directory_uri() . '/libs/jquery-3.2.1.min.js');
wp_enqueue_script('jquery');
Underscores are best practices under WP.
If we are talking about Woo, then the analogue is Storefront.
It must be taken as a basis. Or if you really want adventure, then you can leave _s but always peep into the source code of Storefront with one eye.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question