Answer the question
In order to leave comments, you need to log in
How to load another product card template in WordPress?
Code in functions.php
/**
* Adding Theme features
*/
if ( class_exists('WooCommerce') ) {
require_once( get_template_directory() . '/inc/theme-woo-modification.php');
}
require_once( get_template_directory() . '/inc/theme-demo-install.php');
if ( class_exists('WooCommerce') && in_category (1028) ) {
require_once( get_template_directory() . '/inc/theme-woo-modification-2.php');
else {
require_once( get_template_directory() . '/inc/theme-woo-modification.php');
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question