{"id":48554,"date":"2016-05-24T14:48:56","date_gmt":"2016-05-24T14:48:56","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/gallery-one\/"},"modified":"2016-05-28T11:13:56","modified_gmt":"2016-05-28T11:13:56","slug":"gallery-one","status":"publish","type":"plugin","link":"https:\/\/cor.wordpress.org\/plugins\/gallery-one\/","author":9085659,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.2","stable_tag":"trunk","tested":"4.5.33","requires":"4.5","requires_php":"","requires_plugins":"","header_name":"Gallery One","header_author":"shrimp2t","header_description":"","assets_banners_color":"569729","last_updated":"2016-05-28 11:13:56","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/shrimp2t.com\/gallery-one\/","header_plugin_uri":"http:\/\/shrimp2t.com\/gallery-one\/","header_author_uri":"http:\/\/wordpress.org\/","rating":0,"author_block_rating":0,"active_installs":50,"downloads":3319,"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":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1425220","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1425220","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"1425220","resolution":"1544x500","location":"assets"},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1425220","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1423747","resolution":"1","location":"assets"},"screenshot-10.png":{"filename":"screenshot-10.png","revision":"1423759","resolution":"10","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1423747","resolution":"2","location":"assets"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1423747","resolution":"3","location":"assets"},"screenshot-4.png":{"filename":"screenshot-4.png","revision":"1423747","resolution":"4","location":"assets"},"screenshot-5.png":{"filename":"screenshot-5.png","revision":"1423747","resolution":"5","location":"assets"},"screenshot-6.png":{"filename":"screenshot-6.png","revision":"1423747","resolution":"6","location":"assets"},"screenshot-7.png":{"filename":"screenshot-7.png","revision":"1423759","resolution":"7","location":"assets"},"screenshot-8.png":{"filename":"screenshot-8.png","revision":"1423759","resolution":"8","location":"assets"},"screenshot-9.png":{"filename":"screenshot-9.png","revision":"1423759","resolution":"9","location":"assets"}},"screenshots":{"1":"Justified","2":"Slider","3":"Masonry","4":"Carousel","5":"Slider","6":"Lightbox","7":"Admin galleries","8":"Editing gallery","9":"Editing image info","10":"Shortcode creator"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[157,4918,210,133,163],"plugin_category":[50,56],"plugin_contributors":[83462],"plugin_business_model":[],"class_list":["post-48554","plugin","type-plugin","status-publish","hentry","plugin_tags-facebook","plugin_tags-galleries","plugin_tags-gallery","plugin_tags-image","plugin_tags-images","plugin_category-media","plugin_category-social-and-sharing","plugin_contributors-shrimp2t","plugin_committers-shrimp2t"],"banners":{"banner":"https:\/\/ps.w.org\/gallery-one\/assets\/banner-772x250.png?rev=1425220","banner_2x":"https:\/\/ps.w.org\/gallery-one\/assets\/banner-1544x500.png?rev=1425220","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/gallery-one\/assets\/icon-128x128.png?rev=1425220","icon_2x":"https:\/\/ps.w.org\/gallery-one\/assets\/icon-256x256.png?rev=1425220","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/gallery-one\/assets\/screenshot-1.png?rev=1423747","caption":"Justified"},{"src":"https:\/\/ps.w.org\/gallery-one\/assets\/screenshot-2.png?rev=1423747","caption":"Slider"},{"src":"https:\/\/ps.w.org\/gallery-one\/assets\/screenshot-3.png?rev=1423747","caption":"Masonry"},{"src":"https:\/\/ps.w.org\/gallery-one\/assets\/screenshot-4.png?rev=1423747","caption":"Carousel"},{"src":"https:\/\/ps.w.org\/gallery-one\/assets\/screenshot-5.png?rev=1423747","caption":"Slider"},{"src":"https:\/\/ps.w.org\/gallery-one\/assets\/screenshot-6.png?rev=1423747","caption":"Lightbox"},{"src":"https:\/\/ps.w.org\/gallery-one\/assets\/screenshot-7.png?rev=1423759","caption":"Admin galleries"},{"src":"https:\/\/ps.w.org\/gallery-one\/assets\/screenshot-8.png?rev=1423759","caption":"Editing gallery"},{"src":"https:\/\/ps.w.org\/gallery-one\/assets\/screenshot-9.png?rev=1423759","caption":"Editing image info"},{"src":"https:\/\/ps.w.org\/gallery-one\/assets\/screenshot-10.png?rev=1423759","caption":"Shortcode creator"}],"raw_content":"<!--section=description-->\n<p>See demo: http:\/\/shrimp2t.com\/gallery-one\/<\/p>\n\n<p>https:\/\/www.youtube.com\/watch?v=MpicnbcGsUo<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>Fully responsive, Touch enabled<\/li>\n<li><strong>Unlimited albums<\/strong><\/li>\n<li><strong>Unlimited images<\/strong><\/li>\n<li>Carousel<\/li>\n<li>Gird<\/li>\n<li>Justified<\/li>\n<li>Masonry<\/li>\n<li>Slideshow<\/li>\n<li>Blog style (comming soon )<\/li>\n<li>JustifiedGallery Light box<\/li>\n<li>Load Facebook album images<\/li>\n<li>Load Flickr album images<\/li>\n<li>Add image from url<\/li>\n<li>Shortcode creator<\/li>\n<\/ul>\n\n<h4>Load Facebook Album<\/h4>\n\n<p>Just paste your album url, example:<\/p>\n\n<pre><code>https:\/\/www.facebook.com\/BillGates\/photos\/?tab=album&amp;album_id=10153110017351961\n<\/code><\/pre>\n\n<p>Note: Your album status must be public to load.<\/p>\n\n<h4>Load Flickr Album<\/h4>\n\n<p>Just paste your album url, example:<\/p>\n\n<pre><code>https:\/\/www.flickr.com\/photos\/gianstefanofontana\/albums\/72157649693279051\n<\/code><\/pre>\n\n<p>Note: Your album status must be public to load.<\/p>\n\n<h4>Adding your own view in your theme<\/h4>\n\n<ul>\n<li>Create a folder <code>gallery-one<\/code> on your theme.<\/li>\n<li>Inside folder which created add a file and name <code>view.php<\/code><\/li>\n<li>[Optional] Inside folder which created add a file and name <code>config.php<\/code><\/li>\n<\/ul>\n\n<p>Example file <code>view.php<\/code>:<\/p>\n\n<pre><code>&lt;div class=\"my-view\"&gt;\n&lt;?php\n var_dump( $this-&gt;settings ); \/* You config data in file config.php\n var_dump( $this-&gt;media-&gt;get_data() ); \/\/ Gallery items data\n ?&gt;\n&lt;\/div&gt;\n<\/code><\/pre>\n\n<p>Example file <code>config.php<\/code>:<\/p>\n\n<pre><code>$config = array(\n    'name' =&gt; __( 'Justified', 'gallery-one' ), \/\/ view name\n    'js' =&gt; 'js\/js.js',\n    'css' =&gt; 'css\/css.css',\n    'view_settings' =&gt; array(\n        array(\n            'id' =&gt; 'margins',\n            'default' =&gt; '10',\n            'label' =&gt; __( 'Margins', 'gallery-one' ),\n            'type' =&gt; 'text'\n        ),\n        array(\n            'id'        =&gt; 'lightbox',\n            'default'   =&gt; '1',\n            'label'     =&gt; __( 'Lightbox', 'gallery-one' ),\n            'type'      =&gt; 'checkbox'\n        ),\n\n    ),\n);\n<\/code><\/pre>\n\n<h4>Adding your own view in your plugin<\/h4>\n\n<ul>\n<li>Create new folder in your plugin, example: <code>my-cool-views<\/code>.<\/li>\n<li>Add add new view folder example: <code>my-cool-views\/full-screen<\/code>.<\/li>\n<li>Add <code>view.php<\/code> file for you view <code>my-cool-views\/full-screen\/view.php<\/code>.<\/li>\n<li>[Optional] Add <code>config.php<\/code> file for you view <code>my-cool-views\/full-screen\/config.php<\/code>.<\/li>\n<li><p>Add your your views folder to view loader:<\/p>\n\n<p>add_filter( 'gallery_one_get_template_folders', 'my_cool_views_path');<\/p>\n\n<p>function my_cool_views_path( $view_paths ){\n    $view_paths['my_cool_view'] = PATH_TO_MY_PLUGIN.'\/my-cool-views';\n    return $view_paths;\n }<\/p><\/li>\n<\/ul>\n\n<h4>Config Parameters<\/h4>\n\n<p>name: (string) Name of your view.<\/p>\n\n<p>css: (string\/array) CSS files will enqueue when this view load.<\/p>\n\n<p>js: (string\/array) JS files will enqueue when this view load.<\/p>\n\n<p>view_settings: (array) list field settings for your view.<\/p>\n\n<p><strong>view_settings<\/strong> Parameters:<\/p>\n\n<ul>\n<li>id: Id of setting field.<\/li>\n<li>label: Label of setting files.<\/li>\n<li>default: Default value.<\/li>\n<li>type: Field type: text|select|checkbox|textarea.<\/li>\n<li>option: For field type select (array).<\/li>\n<li>desc: Field description.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>gallery-one<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Use the Galleries Name screen to add gallery<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Release<\/li>\n<\/ul>","raw_excerpt":"A cool responsive gallery plugin with beautifully views.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/48554","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=48554"}],"author":[{"embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/shrimp2t"}],"wp:attachment":[{"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=48554"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=48554"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=48554"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=48554"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=48554"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=48554"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}