Apraksts
Some WordPress plugins will load jQuery into your header through the wp_head function, but at times it is not wanted. For example, you may load jQuery through Google, in which case, you will not want any of your plugins to load it. You can use this plugin rather than commenting out the code for every plugin or putting a function into each theme.
Uzstādīšana
- Unzip archive
- Upload the ‘do-not-load-jquery’ folder to the ‘/wp-content/plugins/’ directory
- Activate the plugin through the ‘Plugins’ menu in WordPress
BUJ
How do I use Google to load jQuery?
Place the following code into ‘header.php’ of your current theme:
Atsauksmes
Par šo spraudni nav atsauksmju.
Autori un izstrādātāji
“Do Not Load jQuery” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.
LīdzdalībniekiTulkot “Do Not Load jQuery” savā valodā.
Vai jūs interesē attīstība?
Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.