Linux 软件免费装
Banner图

CodeLibs

开发者 agnelwaghela
更新时间 2012年1月14日 21:07
PHP版本: 3.2.1 及以上
WordPress版本: 3.3.1

标签

javascript jQuery uri js scriptaculous mootools prototype swfobject agnelwaghela codelibs code libraries filer Geo location javascript impress jQueryui dojo ext-core modernizr webfontloader yui

下载

1.1 1.2 1.3

详情介绍:

Most people either download or use google hosted js. But now you have all js. Add any js to your plugin or theme as per your requirements. Just two lines of code and add any version of any js. This plugin has all the version of the following :- Latest Additions to this plugin:- None of the js will be added even after the plugin is activated. You'll have to do this manually. Check the Installation if you dont understand what i mean! Many More scripts will be added to this plugin in the later versions

安装:

This section describes how to install the plugin and get it working.
  1. Upload codelibs to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Place <?php include(ABSPATH."/wp-content/plugins/codelibs/func.php"); CodeLibs('scriptname', 'version'); ?> in your templates.
MarkUp to add scripts:- CodeLibs is a collection of all the necessary js required for development purposes. With this plugin in your blog you can use any js framework for development. And whenever you feel like you can just copy that js to your theme's or plugin's js folder. If Your plugin or theme is completely dependent on this plugin then you can ask your theme or plugin user to download this plugin as well. This plugin is created for meeting the development needs. CodeLibs() is a Function Located in func.php file in the codelibs plugin. We are just including it and calling as many times as we want. Once you have included you can just call CodeLibs() any number of times with valid parameters. <?php include(ABSPATH."/wp-content/plugins/codelibs/func.php"); CodeLibs('scriptname', 'version'); ?> <?php include(ABSPATH."/wp-content/plugins/codelibs/func.php"); CodeLibs('scriptname', 'latest'); ?> <?php include(ABSPATH."/wp-content/plugins/codelibs/func.php"); CodeLibs('jQuery', '1.7.1'); ?> OR <?php include(ABSPATH."/wp-content/plugins/codelibs/func.php"); CodeLibs('jQuery', 'latest'); ?> <?php include(ABSPATH."/wp-content/plugins/codelibs/func.php"); // just once CodeLibs('jQuery', 'latest'); ... ... CodeLibs('jQueryUI','latest'); ... ... CodeLibs('URI','latest');

常见问题:

No Question?

Because, Its the 1st release.

更新日志:

1.3 1.2 1.1 1.0