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]-->
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…
The code snippets you see below should be placed into your theme’s functions.php file. Below is the code to remove the entry meta on your category post. remove_action( 'genesis_entry_footer', 'genesis_post_meta' );
Learning React.js is quit exciting #ReactJS #LearnReact #WebDevelopment #JavaScript #FrontendDev #ReactComponents #CodingTutorial #React101 #DevTips #Programmers
Redirect selected pages or single page into specific page. Example, redirect a selected pages or a single page after login into your dashboard page, membership page, or any page you desired. You can use https://codex.wordpress.org/Plugin_API/Filter_Reference/login_redirect this but this is only access once. Once you’ve login, you cannot repeat the redirection. Unlike `template_redirect` hook, this will…
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 ){…
Freelance tips, how to get paid from your clients? After closing a client, I always ask for a deposit and get paid upfront at least 40% of the total cost of the project. Why is that? 1. If the client does the deposit upfront, the project is real and not bullshit. The client is committed…