Sunday, October 13, 2013

08/27/2013 at 19:14

Replace jQuery in wordpress by default on the Google jQuery Library
It comes with the default scripts every wordpress installation. The author scripts are arranged according to theme or plugin their goals, from our experience, jQuery is one of the most used scripts in the plugin and theme. In this article we will guide you replace the wordpress default by jQuery jQuery is stored on Google Library system.
You might wonder why not replace abv the wordpress default by jQuery jQuery is stored on Google Library system? jQuery is a lot of sites, including the use of large sites. Google Library has become a standard includes abv scripts for web designers, say so because Google Libraries are using the system extremely robust CDN to host jQuery yourself. Because it has become a standard abv and reliable, many big sites are using jQuery is stored on Google Library system. It is possible that a reader before accessing abv your site has access to a site is using jQuery library is stored on Google. jQuery will be saved to the user's browser, and when they visit your site, then jQuery will not be downloaded. Thus the speed of your site will be significantly accelerated. In web design techniques today, abv the design is not optimized for speed every second, the use of the jQuery library is stored on Google as an effective measure.
1 2 3 4 5 6 7 8 9 10 / / Making Google jQuery API modify_jquery function () {if (! Is_admin ()) {/ / comment abv out the next two lines to load the local copy of jQuery wp_deregister_script ('jquery') , wp_register_script ('jquery', '/ / ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js', false, null); wp_enqueue_script (' jquery ');}} add_action (' init ',' modify_jquery ');
1 2 3 4 5 6 7 8 9 10 / / Making Google jQuery API modify_jquery function () {if (! Is_admin ()) {/ / comment out the next two lines to load the local copy of jQuery wp_deregister_script ('jquery') , wp_register_script ('jquery', '/ / ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js', false, null, true); wp_enqueue_script ('jquery');}} abv add_action ('init', 'modify_jquery');
Note: You should not do this on a theme or plugin that you can not control it forever, for example, the customer site, the plugin or theme that you share with everyone. On your website, this procedure gives a very good performance. But if you do not regularly updated new release abv of jQuery (see list at Google updates jQery Library), you may encounter compatibility issues with jQuery plugin. Now you can use the plugin Use Google Libraries. This plugin also allows your web site uses javascript libraries from Google's AJAX Libraries abv CDN, rather than jQuery from WordPress. abv It also has been updated to jQuery, of course, you have to update this plugin if it is a new version.
Related Posts Automatically updated when changing URLs in WordPress website address 6 RSS news reader service abv best alternative to Google Reader Embed Google+ page wordpress abv plugin does not use Google+ Add comment system to WordPress Conversion between Post Formats, Page ... Created in WordPress search engine abv Google abv search abv for WordPress Create search engine Google search for Google Drive Genesis child theme up to 5GB of free storage from 15GB to install WordPress Tutorial on Localhost Google Drive has began to rise up 15GB of free storage
08/27/2013 at 19:14
08/27/2013 at 21:13
08/28/2013 at 08:07
Hostgator Coupon Hostgator Coupon 25% discount and $ 0.01 the first month. Stablehost in Stablehost Hosting Coupon 40% discount with coupon discount 60% WINNER Siteground Siteground Hosting at 60% discount only $ 3.95/thang
New post edit language abv file. Po (. Mo) with 1 year poedit Copyright Free AVG Antivirus Pro 2014 software Goodbye General Vo Nguyen Giap Spam register for WordPress Google abv AdSense Tutorial For Registration allow censorship User Comments in WordPress Add sample content to the WordPress Theme Design Go down JavaScripts in WordPress Footer Lazy Load - Scroll to the website where the image load for WordPress that Enable layer 2 security at Namecheap account . com
Back to top

No comments:

Post a Comment