Gallery – Photo Gallery and Images Gallery - Version 2.6.3

Version Description

  • New gallery front end search functionality
  • Added search field in top menu block
  • Search result load without page reload
Download this release

Release Info

Developer robosoft
Plugin Icon 128x128 Gallery – Photo Gallery and Images Gallery
Version 2.6.3
Comparing to
See all releases

Code changes from version 2.6.2 to 2.6.3

css/gallery.css CHANGED
@@ -1941,4 +1941,34 @@ mfp-container,
1941
 
1942
  .rbs_gallery_button_bottom{
1943
  text-align: center;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1944
  }
1941
 
1942
  .rbs_gallery_button_bottom{
1943
  text-align: center;
1944
+ }
1945
+
1946
+
1947
+ * .rbs_gallery_button .rbs_search_wrap{
1948
+ margin: 0;
1949
+ margin-bottom: 3px;
1950
+ text-align: right;
1951
+ float: right;
1952
+ max-width: 50%;
1953
+ }
1954
+
1955
+ * .rbs_gallery_button .rbs_search_wrap .rbs-search{
1956
+ border: 1px black solid;
1957
+ background: none;
1958
+ font-size: 100%;
1959
+ width: 100%;
1960
+ float: none;
1961
+ padding: 5px;
1962
+ margin: 0px;
1963
+ color: black;
1964
+ font-family: tahoma;
1965
+ }
1966
+ * .rbs_gallery_button .rbs-search::-webkit-input-placeholder{
1967
+ color: black;
1968
+ font-family: tahoma;
1969
+ }
1970
+
1971
+ * .rbs_gallery_button .rbs-search::-moz-placeholder{
1972
+ color: black;
1973
+ font-family: tahoma;
1974
  }
includes/frontend/rbs_gallery_class.php CHANGED
@@ -601,6 +601,14 @@ class roboGallery extends roboGalleryUtils{
601
  $align = get_post_meta( $this->id, ROBO_GALLERY_PREFIX.'buttonAlign', true );
602
  if($align) $align = ' rbs_gallery_align_'.$align;
603
  $retHtml .= '<div class="rbs_gallery_button'.$align.'" id="'.$this->galleryId.'filter">';
 
 
 
 
 
 
 
 
604
 
605
  $paddingLeft = (int)get_post_meta( $this->id, ROBO_GALLERY_PREFIX.'paddingLeft', true );
606
  $paddingBottom = (int)get_post_meta( $this->id, ROBO_GALLERY_PREFIX.'paddingBottom', true );
601
  $align = get_post_meta( $this->id, ROBO_GALLERY_PREFIX.'buttonAlign', true );
602
  if($align) $align = ' rbs_gallery_align_'.$align;
603
  $retHtml .= '<div class="rbs_gallery_button'.$align.'" id="'.$this->galleryId.'filter">';
604
+
605
+ if( get_post_meta( $this->id, ROBO_GALLERY_PREFIX.'searchEnable', true ) ){
606
+ $retHtml .= '<div class="rbs_search_wrap">';
607
+ $retHtml .= '<input type="text" class="rbs-search" placeholder="'.__('search', 'rbs_gallery' ).'">';
608
+ $retHtml .= '</div>';
609
+ $this->helper->setValue( 'search', '#'.$this->galleryId.'filter .rbs-search' );
610
+ $this->helper->setValue( 'searchTarget', '.rbs-img-image' );
611
+ }
612
 
613
  $paddingLeft = (int)get_post_meta( $this->id, ROBO_GALLERY_PREFIX.'paddingLeft', true );
614
  $paddingBottom = (int)get_post_meta( $this->id, ROBO_GALLERY_PREFIX.'paddingBottom', true );
includes/options/rbs_gallery_options_button.php CHANGED
@@ -94,7 +94,6 @@ $button_group->add_field( array(
94
  </div>',
95
  ));
96
 
97
-
98
  $button_group->add_field( array(
99
  'name' => __('Self Label', 'rbs_gallery' ),
100
  'id' => ROBO_GALLERY_PREFIX . 'menuSelf',
@@ -102,6 +101,7 @@ $button_group->add_field( array(
102
  'type' => 'switch',
103
  'showhide' => 1,
104
  'bootstrap_style'=> 1,
 
105
  ));
106
 
107
  $button_group->add_field( array(
@@ -113,6 +113,10 @@ $button_group->add_field( array(
113
  'bootstrap_style'=> 1,
114
  ));
115
 
 
 
 
 
116
  $button_group->add_field( array(
117
  'name' => __( 'Style', 'rbs_gallery' ),
118
  'id' => ROBO_GALLERY_PREFIX . 'buttonFill',
@@ -126,6 +130,14 @@ $button_group->add_field( array(
126
  '3d' => __( '3d' , 'cmb' ),
127
  'border' => __( 'Border' , 'cmb' ),
128
  ),
 
 
 
 
 
 
 
 
129
 
130
  ));
131
 
@@ -208,7 +220,23 @@ $button_group->add_field( array(
208
  'min' => 0,
209
  'max' => 100,
210
  'addons' => 'px',
211
- 'after_row' => '
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
212
  </div>
213
  </div>'
214
- ));
94
  </div>',
95
  ));
96
 
 
97
  $button_group->add_field( array(
98
  'name' => __('Self Label', 'rbs_gallery' ),
99
  'id' => ROBO_GALLERY_PREFIX . 'menuSelf',
101
  'type' => 'switch',
102
  'showhide' => 1,
103
  'bootstrap_style'=> 1,
104
+
105
  ));
106
 
107
  $button_group->add_field( array(
113
  'bootstrap_style'=> 1,
114
  ));
115
 
116
+
117
+
118
+
119
+
120
  $button_group->add_field( array(
121
  'name' => __( 'Style', 'rbs_gallery' ),
122
  'id' => ROBO_GALLERY_PREFIX . 'buttonFill',
130
  '3d' => __( '3d' , 'cmb' ),
131
  'border' => __( 'Border' , 'cmb' ),
132
  ),
133
+ 'before_row'=> '
134
+ <div role="tabpanel">
135
+ <ul class="nav nav-tabs" role="tablist">
136
+ <li role="presentation" class="active"><a href="#menu_render" aria-controls="menu_render" role="tab" data-toggle="tab">'.__('Menu Style', 'rbs_gallery' ).'</a></li>
137
+ <li role="presentation"><a href="#menu_search" aria-controls="menu_search" role="tab" data-toggle="tab">'.__('Search', 'rbs_gallery' ).'</a></li>
138
+ </ul>
139
+ <div class="tab-content">
140
+ <div role="tabpanel" class="tab-pane active" id="menu_render"><br/>',
141
 
142
  ));
143
 
220
  'min' => 0,
221
  'max' => 100,
222
  'addons' => 'px',
223
+ 'after_row' => '
224
+ </div>
225
+ <div role="tabpanel" class="tab-pane" id="menu_search"><br/>'
226
+ ));
227
+
228
+
229
+ $button_group->add_field( array(
230
+ 'name' => __('Search', 'rbs_gallery' ),
231
+ 'id' => ROBO_GALLERY_PREFIX . 'searchEnable',
232
+ 'default' => rbs_gallery_set_checkbox_default_for_new_post(0),
233
+ 'type' => 'switch',
234
+ 'showhide' => 1,
235
+ 'bootstrap_style'=> 1,
236
+ 'after_row' => '
237
+ </div>
238
+ </div>
239
+ </div>
240
  </div>
241
  </div>'
242
+ ));
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://robosoft.co/robogallery
4
  Tags: gallery, photo gallery, images gallery, gallery images, responsive gallery, categories gallery, Polaroid gallery, gallery lightbox, portfolio gallery, video gallery, Gallery Plugin, Robo Gallery
5
  Requires at least: 3.3
6
  Tested up to: 4.7
7
- Stable tag: 2.6.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -254,6 +254,11 @@ If any problem occurs, please contact us.
254
 
255
  == Changelog ==
256
 
 
 
 
 
 
257
  = 2.6.2 =
258
  * New function for clone function configuration
259
  * Show/hide option for gallery clone block in gallery settings
@@ -339,6 +344,11 @@ If any problem occurs, please contact us.
339
 
340
  == Upgrade Notice ==
341
 
 
 
 
 
 
342
  = 2.6.2 =
343
  New function for clone function configuration
344
  Show/hide option for gallery clone block in gallery settings
4
  Tags: gallery, photo gallery, images gallery, gallery images, responsive gallery, categories gallery, Polaroid gallery, gallery lightbox, portfolio gallery, video gallery, Gallery Plugin, Robo Gallery
5
  Requires at least: 3.3
6
  Tested up to: 4.7
7
+ Stable tag: 2.6.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
254
 
255
  == Changelog ==
256
 
257
+ = 2.6.3 =
258
+ * New gallery front end search functionality
259
+ * Added search field in top menu block
260
+ * Search result load without page reload
261
+
262
  = 2.6.2 =
263
  * New function for clone function configuration
264
  * Show/hide option for gallery clone block in gallery settings
344
 
345
  == Upgrade Notice ==
346
 
347
+ = 2.6.3 =
348
+ New gallery front end search functionality
349
+ Added search field in top menu block
350
+ Search result load without page reload
351
+
352
  = 2.6.2 =
353
  New function for clone function configuration
354
  Show/hide option for gallery clone block in gallery settings
robogallery.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Robo Gallery
4
  Description: Gallery modes photo gallery, images gallery, video gallery, Polaroid gallery, gallery lighbox, portfolio gallery, responsive gallery
5
- Version: 2.6.2
6
  Author: RoboSoft
7
  Plugin URI: http://robosoft.co/gallery
8
  Author URI: http://robosoft.co/gallery
@@ -15,12 +15,12 @@ if(!defined('WPINC'))die;
15
  if(!defined("ABSPATH"))exit;
16
 
17
  define("ROBO_GALLERY", 1);
18
- define("ROBO_GALLERY_VERSION", '2.6.2');
19
 
20
  if( !defined("ROBO_GALLERY_PATH") ) define("ROBO_GALLERY_PATH", plugin_dir_path( __FILE__ ));
21
 
22
  define("ROBO_GALLERY_SPECIAL", 1);
23
- define("ROBO_GALLERY_EVENT_DATE", '2017-01-27');
24
  define("ROBO_GALLERY_EVENT_HOUR", 12);
25
 
26
  add_action( 'plugins_loaded', 'rbs_gallery_load_textdomain' );
2
  /*
3
  Plugin Name: Robo Gallery
4
  Description: Gallery modes photo gallery, images gallery, video gallery, Polaroid gallery, gallery lighbox, portfolio gallery, responsive gallery
5
+ Version: 2.6.3
6
  Author: RoboSoft
7
  Plugin URI: http://robosoft.co/gallery
8
  Author URI: http://robosoft.co/gallery
15
  if(!defined("ABSPATH"))exit;
16
 
17
  define("ROBO_GALLERY", 1);
18
+ define("ROBO_GALLERY_VERSION", '2.6.3');
19
 
20
  if( !defined("ROBO_GALLERY_PATH") ) define("ROBO_GALLERY_PATH", plugin_dir_path( __FILE__ ));
21
 
22
  define("ROBO_GALLERY_SPECIAL", 1);
23
+ define("ROBO_GALLERY_EVENT_DATE", '2017-02-03');
24
  define("ROBO_GALLERY_EVENT_HOUR", 12);
25
 
26
  add_action( 'plugins_loaded', 'rbs_gallery_load_textdomain' );