{"id":16313,"date":"2012-01-06T09:51:59","date_gmt":"2012-01-06T09:51:59","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/codelibs\/"},"modified":"2012-01-11T15:24:24","modified_gmt":"2012-01-11T15:24:24","slug":"codelibs","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/codelibs\/","author":8476807,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.3","stable_tag":"1.3","tested":"3.3.2","requires":"3.2.1","requires_php":"","requires_plugins":"","header_name":"CodeLibs","header_author":"Agnel Waghela","header_description":"","assets_banners_color":"181818","last_updated":"2012-01-11 15:24:24","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"http:\/\/www.agnelwaghela.bammz.net\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":2623,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"485716","resolution":"772x250","location":"assets","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.1","1.2","1.3"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[18630,18632,18631,18633,18634],"plugin_category":[59],"plugin_contributors":[86470],"plugin_business_model":[],"class_list":["post-16313","plugin","type-plugin","status-publish","hentry","plugin_tags-agnelwaghela","plugin_tags-code-libraries","plugin_tags-codelibs","plugin_tags-filer","plugin_tags-geo-location-javascript","plugin_category-utilities-and-tools","plugin_contributors-agnelwaghela","plugin_committers-agnelwaghela"],"banners":{"banner":"https:\/\/ps.w.org\/codelibs\/assets\/banner-772x250.png?rev=485716","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/codelibs_181818.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Most people either download or use google hosted js.\nBut now you have all js. Add any js to your plugin or theme as per your requirements.\nJust two lines of code and add any version of any js. This plugin has all the version of the following :-<\/p>\n\n<ul>\n<li>ChromeFrame<\/li>\n<li>Dojo<\/li>\n<li>Ext-Core<\/li>\n<li>jQuery<\/li>\n<li>jQueryUI<\/li>\n<li>MooTools<\/li>\n<li>ProtoType<\/li>\n<li>Scriptaculous<\/li>\n<li>SWFObject<\/li>\n<li>WebFontLoader<\/li>\n<li>YUI(only version 3.3.0)<\/li>\n<\/ul>\n\n<p><strong>Latest Additions to this plugin:-<\/strong><\/p>\n\n<ul>\n<li><strong><a href=\"https:\/\/github.com\/maxatwork\/form2js\">form2js<\/a><\/strong><\/li>\n<li><strong><a href=\"http:\/\/code.google.com\/p\/geo-location-javascript\">Geo Location<\/a><\/strong><\/li>\n<li><strong><a href=\"http:\/\/www.modernizr.com\">Modernizr.js<\/a><\/strong><\/li>\n<li><strong><a href=\"https:\/\/github.com\/medialize\/URI.js\">URI.js<\/a><\/strong><\/li>\n<li><strong><a href=\"https:\/\/github.com\/bartaz\/impress.js\">Impress.js<\/a><\/strong><\/li>\n<li><strong><a href=\"https:\/\/github.com\/ebidel\/filer.js\">Filer.js<\/a><\/strong><\/li>\n<\/ul>\n\n<p><em>None of the js will be added even after the plugin is activated. You'll have to do this manually. Check the <a href=\"http:\/\/wordpress.org\/extend\/plugins\/codelibs\/installation\/\">Installation<\/a> if you dont understand what i mean!<\/em><\/p>\n\n<p><strong>Many More scripts will be added to this plugin in the later versions<\/strong><\/p>\n\n<h3>Arbitrary section<\/h3>\n\n<p><strong>Latest Additions to this plugin:-<\/strong><\/p>\n\n<ul>\n<li><strong><a href=\"https:\/\/github.com\/maxatwork\/form2js\">form2js<\/a><\/strong><\/li>\n<li><strong><a href=\"http:\/\/code.google.com\/p\/geo-location-javascript\">Geo Location<\/a><\/strong><\/li>\n<li><strong><a href=\"http:\/\/www.modernizr.com\">Modernizr.js<\/a><\/strong><\/li>\n<li><strong><a href=\"https:\/\/github.com\/medialize\/URI.js\">URI.js<\/a><\/strong><\/li>\n<li><strong><a href=\"https:\/\/github.com\/bartaz\/impress.js\">Impress.js<\/a><\/strong><\/li>\n<li><strong><a href=\"https:\/\/github.com\/ebidel\/filer.js\">Filer.js<\/a><\/strong><\/li>\n<\/ul>\n\n<p>MarkUp to add scripts:-<\/p>\n\n<ul>\n<li><p>just do this -<\/p>\n\n<\/li>\n<li><p>or if you dont know the latest version no. just do this -<\/p>\n\n<\/li>\n<li><p>For Example, For your project if you want latest version of jQuery then do this -<\/p>\n\n<\/li>\n<\/ul>\n\n<p>OR<\/p>\n\n<pre><code>&lt;?php include(ABSPATH.\"\/wp-content\/plugins\/codelibs\/func.php\");\nCodeLibs('jQuery', 'latest'); ?&gt;\n<\/code><\/pre>\n\n<ul>\n<li><p>To Add more than one library use this simply as -<\/p>\n\n<p>&lt;?php include(ABSPATH.\"\/wp-content\/plugins\/codelibs\/func.php\"); \/\/ just once\nCodeLibs('jQuery', 'latest');\n...\n...\nCodeLibs('jQueryUI','latest');\n...\n...\nCodeLibs('URI','latest');<\/p><\/li>\n<li><p>Any question, then contact me at <a href=\"http:\/\/twitter.com\/agnel_waghela\">AgnelWaghela<\/a><\/p><\/li>\n<\/ul>\n\n<!--section=installation-->\n<p>This section describes how to install the plugin and get it working.<\/p>\n\n<ol>\n<li>Upload <code>codelibs<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Place <code>&lt;?php include(ABSPATH.\"\/wp-content\/plugins\/codelibs\/func.php\");\n            CodeLibs('scriptname', 'version'); ?&gt;<\/code> in your templates.<\/li>\n<\/ol>\n\n<p><em>MarkUp to add scripts:-<\/em><\/p>\n\n<p>CodeLibs is a collection of all the necessary js required for development purposes.\nWith this plugin in your blog you can use any js framework for development.\nAnd whenever you feel like you can just copy that js to your theme's or plugin's js folder.\nIf 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.\nThis plugin is created for meeting the development needs.<\/p>\n\n<p>CodeLibs() is a Function Located in func.php file in the codelibs plugin.\nWe are just including it and calling as many times as we want. \nOnce you have included you can just call CodeLibs() any number of times with valid parameters.<\/p>\n\n<ul>\n<li><p>just do this -<\/p>\n\n<\/li>\n<li><p>or if you dont know the latest version no. just do this -<\/p>\n\n<\/li>\n<li><p>For Example, For your project if you want latest version of jQuery then do this -<\/p>\n\n<\/li>\n<\/ul>\n\n<p>OR<\/p>\n\n<pre><code>&lt;?php include(ABSPATH.\"\/wp-content\/plugins\/codelibs\/func.php\");\nCodeLibs('jQuery', 'latest'); ?&gt;\n<\/code><\/pre>\n\n<ul>\n<li><p>To Add more than one library use this simply as -<\/p>\n\n<p>&lt;?php include(ABSPATH.\"\/wp-content\/plugins\/codelibs\/func.php\"); \/\/ just once\nCodeLibs('jQuery', 'latest');\n...\n...\nCodeLibs('jQueryUI','latest');\n...\n...\nCodeLibs('URI','latest');<\/p><\/li>\n<li><p>Any question, then contact me at <a href=\"http:\/\/twitter.com\/agnel_waghela\">AgnelWaghela<\/a><\/p><\/li>\n<\/ul>\n\n<!--section=faq-->\n<dl>\n<dt>No Question?<\/dt>\n<dd><p>Because, Its the 1st release.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.3<\/h4>\n\n<ul>\n<li>Added <a href=\"https:\/\/github.com\/maxatwork\/form2js\">form2js<\/a><\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Added <a href=\"http:\/\/code.google.com\/p\/geo-location-javascript\">Geo Location Javascript<\/a><\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li><p>Added the Best frameworks.\n<strong>Latest Additions to this plugin:-<\/strong><\/p><\/li>\n<li><p><strong><a href=\"http:\/\/www.modernizr.com\">Modernizr.js<\/a><\/strong><\/p><\/li>\n<li><strong><a href=\"https:\/\/github.com\/medialize\/URI.js\">URI.js<\/a><\/strong><\/li>\n<li><strong><a href=\"https:\/\/github.com\/bartaz\/impress.js\">Impress.js<\/a><\/strong><\/li>\n<li><strong><a href=\"https:\/\/github.com\/ebidel\/filer.js\">Filer.js<\/a><\/strong><\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>1st Release.<\/li>\n<\/ul>","raw_excerpt":"A simple plugin to add javascripts to your plugin or the theme. Useful for development work!","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/16313","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=16313"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/agnelwaghela"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=16313"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=16313"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=16313"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=16313"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=16313"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=16313"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}