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]-->
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…
var jq = document.createElement('script'); jq.src = "//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"; document.getElementsByTagName('head')[0].appendChild(jq); // … give time for script to load, then type. jQuery.noConflict();
Copy the codes below to your functions.php add_filter('rtmedia_plupload_files_filter', 'rt_custom_allowed_types', 10, 1); function rt_custom_allowed_types( $types ){ global $bp; if ( $bp->current_component == 'activity' && isset( $types[0] ) && isset( $types[0]['extensions'] ) ) { $types[0]['extensions'] = 'jpg,jpeg,png,gif'; } return $types; } For more information please read this article https://rtmedia.io/docs/developers/allow-custom-media-types/
Dequeue or remove Gravity Forms style or css in your WordPress site. Common styles of Gravity Forms is `formreset.css`, `datepicker.css`, `formsmain.css`, `readyclass.css`, and `browsers.css`. Gravity Forms has action called `gform_enqueue_scripts`, you can visit the link for more information. <link rel='stylesheet' id='gforms_reset_css-css' href='http://example.com/wp-content/plugins/gravityforms/css/formreset.css?ver=1.7.11' type='text/css' media='all' /> <link rel='stylesheet' id='gforms_datepicker_css-css' href='http://example.com/wp-content/plugins/gravityforms/css/datepicker.css?ver=1.7.11' type='text/css' media='all' /> <link rel='stylesheet' id='gforms_formsmain_css-css'…
Here’s how The7 WordPress themes page layout change via filter functions. How to manage your page/post layout? Remove sidebar or sidebar in left or right? We can use filter function to do the task. This is mostly used in custom post type pages. Original code snippets of The7 WordPress themes inc/helpers/html-helpers.php function presscore_main_container_classes( $custom_class =…