HTML5 .js google hosted
html5shiv.googlecode.com/svn/trunk/html5.js
or simply copy the code below and paste it into your header.php
<!--[if lt IE 9]><script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
The codes below suits on product subcategory looping. Get the custom field of every subcategory ( inside the loop ). $sub_title = get_field('sub_title', 'product_cat_'.$category->term_id); if( $sub_title != '' ){ echo $sub_title; } Get the check-box label text. $s_field = get_field_object('field_name', $product->id ); $s_value = get_field('field_name', $product->id ); $s_label = $s_field['choices'][ $s_value ]; if( $s_label ){…
JS Composer shortcode is not working outside the loop, sometimes the JS file is not enqueue to your front end page. Mine is I’m using the Ultimate_VC_Addons and I found the ultimate.min.js and ultimate.min.css is not enqueue to the page. To fix the error, copy this code to your functions.php add_action( 'wp_enqueue_scripts', 'ac_wp_enqueue_scripts' ); function…
Hi guys! good day.. I have a very short code here to connect your Woocommerce pages to the genesis sidebar layout. Paste the codes below on your functions.php. NOTE: If the codes below does not work, means your current Woocommerce hooks has been re-locate or Woocommerce hooks has been updated from before structure. # WOOCOMMERCE…
Copy this this on your choosed templates. Locate a file code : locate_template( array( 'function-custom.php' ), true ); Require a file code : require_once( 'functions-custom.php' ); Include a file code : include( 'functions-custom.php' ); Get template functions-woocommerce.php Ex: get_template_part( ‘partials/content’, ‘page’ ); get_template_part( 'functions-woocommerce' );
In this first part of my debugging series, I dive into the issues plaguing my mobile navigation menu. From unresponsive toggles to hidden elements, join me as I walk through my thought process, inspect code, and start patching up what’s broken. Perfect for developers troubleshooting similar mobile UI headaches. #Debugging #MobileMenuFix #ResponsiveDesign #WebDev #FrontendDev #JavaScriptDebugging…
Add Woocommerce product featured image using GeneratePress WordPress theme in few steps. You need to access your functions.php. Either on a parent theme or a child theme. In my case I’m using a child theme so gonna paste the codes below on child themes functions.php Please copy the code below and paste it into your…