dialaster
Forum Replies Created
Viewing 5 replies - 1 through 5 (of 5 total)
-
Forum: Plugins
In reply to: [WooCommerce] Mobile viewjust to add, I have 3 product per line on desktop.
Forum: Plugins
In reply to: [WooCommerce] Product page to cutom page?Working great. Thanks 🙂
Forum: Plugins
In reply to: [WooCommerce] Product page to cutom page?It should be like this:
<a href="http://test.com/signup/" class="woocommerce-LoopProduct-link woocommerce-loop-product__link"><img src="//test.com/my-red-car-2.jpg" class="attachment-woocommerce_thumbnail size-woocommerce_thumbnail wp-post-image" alt="My Red Car" height="169" width="300"><h2 class="woocommerce-loop-product__title">My Red Car</h2> </a>- This reply was modified 7 years, 11 months ago by dialaster. Reason: typo
Forum: Plugins
In reply to: [Scripts To Footer] Keep Jquery in the header only for one pageHi Joshua,
Where to add code? I added in theme functions.php and nothing happens. I have unchecked “Keep jQuery in the Header” and added this code from above with page slug “home”.
add_filter( ‘stf_exclude_scripts’, ‘jdn_jquery_in_header’, 10, 1 );
function jdn_jquery_in_header( $scripts ) {if( is_page( home ) ) { // Replace this number with the page id or page slug
$scripts[] = ‘jquery’;
}return $scripts;
}
I want to use jquery in header, only on home page.
Thanks.
Working again! Thanks.
Viewing 5 replies - 1 through 5 (of 5 total)