Home › Forums › Space themes support forum › Split: Products not showing in product archive › Reply To: Split: Products not showing in product archive
September 12, 2024 at 5:21 pm
#597056
Luke Nielsen
Keymaster
Hello,
Please try to add the code below in the functions.php file in your child theme:
if ( ! function_exists( 'xts_enqueue_waypoints' ) ) {
function xts_enqueue_waypoints() {
wp_enqueue_script( 'xts-waypoints-library', XTS_THEME_URL . '/js/waypoints.min.js', array(), XTS_VERSION, true );
}
add_action( 'wp_enqueue_scripts', 'xts_enqueue_waypoints', 20 );
}
Clear the cache and check how it works.
Kind Regards