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]-->
Remove subcategory count. add_filter( 'woocommerce_subcategory_count_html', function(){ return ''; }); Change the number of loop shop columns. add_filter( 'loop_shop_columns', function(){ $cat_obj = get_queried_object(); $cat_id = $cat_obj->term_id; if( get_woocommerce_term_meta( $cat_id, 'display_type', true )== 'subcategories' ){ return 3; }else{ return 4; } }); Change the number of loop shop columns css. Just add a class on the body…
How to get the current page slug? global $post; $slug = get_post( $post )->post_name;
Catchable fatal error: Argument 1 passed to Genesis_Admin_CPT_Archive_Settings::__construct() must be an instance of stdClass, instance of WP_Post_Type given, called in /home/…/wp-content/themes/genesis/lib/admin/menu.php on line 122 and defined in /home/…/wp-content/themes/genesis/lib/admin/cpt-archive-settings.php on line 38 This error is sometimes showing after updating the WordPress. It is advice to update your Genesis theme first before the WordPress. To fix this…
Custom and simple jQuery tabs, no library needed. This example is very easy and light to your page. Follow and copy the codes below. DEMO Tab 1 Tab 2 Tab 3 Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the…
Just simply go to your WordPress profile and ENABLE / DISABLE the settings. Please image below.
I have a search form to add below page title using Visual Composer Fancy title (the7 WordPress theme) page editor. I look for alternative solutions that I can insert my additional HTML content. Lucky me to found it, and here’s the code on how to add additional content. Add this code on your functions.php, can…