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]-->
Make sure you have the same file path as the image below. background-image css example : div { background-image: url('../../uploads/2014/07/bg-css.jpg' ); }
How to replace Woocommerce placeholder image URL? Just copy the codes below. add_filter( 'woocommerce_placeholder_img_src', function( $classes ){ if( !is_product() ) return; // this code is intended to single product only. Remove this for general changes. return get_bloginfo( 'url' ) . '/wp-content/uploads/2016/03/placeholder.jpg'; } );
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 #webdevolopment #FrontendDev #JavaScriptDebugging…
If this is happening on your end, try this troubleshooting. Check if your Gravity Form short code if is placed outside the wp_footer();. I guess the short code does not support any function outside the wp_footer();. You should put your Gravity Form short code before wp_footer();. Much better if it is placed on inside the…
How to control the post displayed on a specific category? You can solve this problem by simply copy the codes below on your functions.php file. function category_blog_posts_per_page( $query ) { if ( is_admin() || ! $query->is_main_query() ){ return; } if( is_category( 1 ) ){ $query->set( 'posts_per_page', 15 ); } } add_action( 'pre_get_posts', 'category_blog_posts_per_page', 1 );
Using your Add to Wishlist button with the specific product, after clicking this will automatically add to your wishlist page. See the button mark up below. <header> <a href="#>WISH LIST COUNT : <span>0</span></a> </header> // Button only without ajax loading GIF <a href="http://yoursite.com/product/product-2/?add_to_wishlist=218" rel="nofollow" data-product-id="218" data-product-type="simple" class="add_to_wishlist">Add to Wishlist</a> // Default wishlist button mark up…