{"id":45615,"date":"2010-08-02T14:12:12","date_gmt":"2010-08-02T14:12:12","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/jquery-lightbox-api\/"},"modified":"2010-08-13T08:26:29","modified_gmt":"2010-08-13T08:26:29","slug":"jquery-lightbox-api","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/jquery-lightbox-api\/","author":5610363,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.1.1","stable_tag":"0.1.1","tested":"3.0.5","requires":"2.8.0","requires_php":"","requires_plugins":"","header_name":"jQuery lightBox API","header_author":"Patrik B\u00f3na","header_description":"","assets_banners_color":"","last_updated":"2010-08-13 08:26:29","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"http:\/\/www.mrhead.sk\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":2777,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1.1"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[1556,202,237],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-45615","plugin","type-plugin","status-closed","hentry","plugin_tags-api","plugin_tags-jquery","plugin_tags-lightbox"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/jquery-lightbox-api.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin provides PHP function <code>jquery_lightbox($selectors)<\/code>, which generates all needed JS code for calling jQuery lightBox.<\/p>\n\n<p>For example:<\/p>\n\n<pre><code>&lt;?php jquery_lightbox('a img.lightbox'); ?&gt;\n<\/code><\/pre>\n\n<p>will generate this code:<\/p>\n\n<pre><code>&lt;script type=\"text\/javascript\"&gt; \njQuery(document).ready(function() {\n    jQuery('a img.lightbox').lightBox({\n        imageLoading: 'http:\/\/www.example.com\/wp-content\/plugins\/jquery-lightbox-api\/images\/lightbox-ico-loading.gif',\n        imageBtnClose: 'http:\/\/www.example.com\/wp-content\/plugins\/jquery-lightbox-api\/images\/lightbox-btn-close.gif',\n        imageBtnPrev: 'http:\/\/www.example.com\/wp-content\/plugins\/jquery-lightbox-api\/images\/lightbox-btn-prev.gif',\n        imageBtnNext: 'http:\/\/www.example.com\/wp-content\/plugins\/jquery-lightbox-api\/images\/lightbox-btn-next.gif',\n        imageBlank: 'http:\/\/www.example.com\/wp-content\/plugins\/jquery-lightbox-api\/images\/lightbox-blank.gif'\n    });\n});\n&lt;\/script&gt; \n<\/code><\/pre>\n\n<p>So you will just simply call PHP function <code>jquery_lightbox()<\/code> and you don't need to take care about all the pats, or including and uploading anything else.<\/p>\n\n<p>Plugin is bundled with all need jQuery lightBox files and it will take care about including them...<\/p>\n\n<p>Also multiple selectors in format <code>jquery_lightbox(array('selector1', 'selector2', ...))<\/code> are supported.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>jquery-lightbox-api<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>0.1.1<\/h4>\n\n<ul>\n<li>Fixed paths to lightBox icons.<\/li>\n<\/ul>\n\n<h4>0.1.0<\/h4>\n\n<ul>\n<li>First release.<\/li>\n<\/ul>","raw_excerpt":"Simple PHP wrapper for jQuery lightBox JS call. Bundled together with all needed files.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/45615","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=45615"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/anonymized-5610363"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=45615"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=45615"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=45615"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=45615"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=45615"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=45615"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}