Gallery – Photo Gallery and Images Gallery - Version 2.0.25

Version Description

  • Updated statistics section
  • Added new total galleries value
Download this release

Release Info

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

Code changes from version 2.0.24 to 2.0.25

includes/extensions/stats/stats.form.php CHANGED
@@ -42,7 +42,7 @@ $tab = 'gallery';
42
 
43
  $today = date("Y_j_n");
44
  $countPosts = wp_count_posts(ROBO_GALLERY_TYPE_POST);
45
-
46
 
47
  $args = array(
48
  'post_type' => ROBO_GALLERY_TYPE_POST,
@@ -55,7 +55,7 @@ $allImages = 0;
55
 
56
  if ( $loop->have_posts() ){
57
  for ($i=0; $i <count($loop->posts) ; $i++) {
58
-
59
  $images = get_post_meta( $loop->posts[$i]->ID, ROBO_GALLERY_PREFIX.'galleryImages', true);
60
  if( isset($images) && is_array($images) && count($images) ){
61
  $allImages += count($images);
@@ -87,6 +87,14 @@ switch ($tab) {
87
  <p><?php echo $allImages ; ?></p>
88
  </td>
89
  </tr>
 
 
 
 
 
 
 
 
90
  <tr>
91
  <td><hr></td>
92
  </tr>
42
 
43
  $today = date("Y_j_n");
44
  $countPosts = wp_count_posts(ROBO_GALLERY_TYPE_POST);
45
+ //print_r($countPosts);
46
 
47
  $args = array(
48
  'post_type' => ROBO_GALLERY_TYPE_POST,
55
 
56
  if ( $loop->have_posts() ){
57
  for ($i=0; $i <count($loop->posts) ; $i++) {
58
+
59
  $images = get_post_meta( $loop->posts[$i]->ID, ROBO_GALLERY_PREFIX.'galleryImages', true);
60
  if( isset($images) && is_array($images) && count($images) ){
61
  $allImages += count($images);
87
  <p><?php echo $allImages ; ?></p>
88
  </td>
89
  </tr>
90
+ <tr>
91
+ <th scope="row">
92
+ <label ><?php _e('Total Galleries', 'rbs_gallery'); ?></label>
93
+ </th>
94
+ <td>
95
+ <p><?php echo $countPosts->publish + $countPosts->draft + $countPosts->trash ; ?></p>
96
+ </td>
97
+ </tr>
98
  <tr>
99
  <td><hr></td>
100
  </tr>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.robosoft.co/robogallery
4
  Tags: gallery, add gallery, photo gallery, images gallery, media gallery, responsive gallery, gallery image, gallery lightbox, Polaroid gallery, Gallery Plugin, plugin gallery, video gallery, gallery shortcode, responsive images gallery, website gallery, widget gallery, wordpress gallery, wordpress gallery plugin, wordpress photo gallery plugin, wp gallery, wp gallery plugin, wp gallery plugins, multi categories gallery, add galleries, add picture, add pictures, album, best gallery, best gallery plugin, responsive galleries, mobile gallery, mobile galleries, responsive photo gallery, best portfolio, easy media gallery, filterable gallery, filterable portfolio, foto, fotoalbum, fotogalerie, sortable gallery, sortable galleries, free photo gallery, fullscreen gallery, galary, galeri, galerie, galerij, galery, gallary, Galleria, gallerie, galleries, gallery decription, gallery slider, gelary, gellary, gellery, google, grid gallery, image, image album, image gallery, image gallery plugin, image lightbox, image slider, image slideshow, images, jquery, jquery gallery, links, media, multiple pictures, page, pagination gallery, pagination portfolio, photo, photo album, photo albums, photoalbum, photogallery, photos, photoset, picture, pictures, plugin, plugin for gallery, portfolio, portfolio gallery, portfolio plugin, Post, posts, responsive slideshow, responsive wordpress photo gallery, seo image, slide show, slideshow, thumbnail, upload images, upload photos, batch upload, multiply images upload, view images, view pictures, wordpress portfolio plugin, multi-categories gallery, multi categories galleries, robo gallery
5
  Requires at least: 3.3
6
  Tested up to: 4.5
7
- Stable tag: 2.0.24
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -584,6 +584,10 @@ If any problem occurs, please contact us.
584
 
585
  == Changelog ==
586
 
 
 
 
 
587
  = 2.0.24 =
588
  * Updated statistics section
589
  * Added new total images value
@@ -1111,6 +1115,9 @@ If any problem occurs, please contact us.
1111
 
1112
  == Upgrade Notice ==
1113
 
 
 
 
1114
  = 2.0.24 =
1115
  Updated statistics section, added new total images value
1116
 
4
  Tags: gallery, add gallery, photo gallery, images gallery, media gallery, responsive gallery, gallery image, gallery lightbox, Polaroid gallery, Gallery Plugin, plugin gallery, video gallery, gallery shortcode, responsive images gallery, website gallery, widget gallery, wordpress gallery, wordpress gallery plugin, wordpress photo gallery plugin, wp gallery, wp gallery plugin, wp gallery plugins, multi categories gallery, add galleries, add picture, add pictures, album, best gallery, best gallery plugin, responsive galleries, mobile gallery, mobile galleries, responsive photo gallery, best portfolio, easy media gallery, filterable gallery, filterable portfolio, foto, fotoalbum, fotogalerie, sortable gallery, sortable galleries, free photo gallery, fullscreen gallery, galary, galeri, galerie, galerij, galery, gallary, Galleria, gallerie, galleries, gallery decription, gallery slider, gelary, gellary, gellery, google, grid gallery, image, image album, image gallery, image gallery plugin, image lightbox, image slider, image slideshow, images, jquery, jquery gallery, links, media, multiple pictures, page, pagination gallery, pagination portfolio, photo, photo album, photo albums, photoalbum, photogallery, photos, photoset, picture, pictures, plugin, plugin for gallery, portfolio, portfolio gallery, portfolio plugin, Post, posts, responsive slideshow, responsive wordpress photo gallery, seo image, slide show, slideshow, thumbnail, upload images, upload photos, batch upload, multiply images upload, view images, view pictures, wordpress portfolio plugin, multi-categories gallery, multi categories galleries, robo gallery
5
  Requires at least: 3.3
6
  Tested up to: 4.5
7
+ Stable tag: 2.0.25
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
584
 
585
  == Changelog ==
586
 
587
+ = 2.0.25 =
588
+ * Updated statistics section
589
+ * Added new total galleries value
590
+
591
  = 2.0.24 =
592
  * Updated statistics section
593
  * Added new total images value
1115
 
1116
  == Upgrade Notice ==
1117
 
1118
+ = 2.0.25 =
1119
+ Updated statistics section, added new total galleries value
1120
+
1121
  = 2.0.24 =
1122
  Updated statistics section, added new total images value
1123
 
robogallery.php CHANGED
@@ -8,7 +8,7 @@
8
  * Plugin Name: Robo Gallery
9
  * Plugin URI: http://robosoft.co/robogallery
10
  * Description: A responsive, easy and elegant way to show gallery.
11
- * Version: 2.0.24
12
  * Author: RoboSoft (c)
13
  * Author URI: http://robosoft.co/robogallery
14
  * License: GPL-2.0+
@@ -19,7 +19,7 @@
19
 
20
  if ( ! defined( 'WPINC' ) ) die;
21
  define("ROBO_GALLERY", 1);
22
- define("ROBO_GALLERY_VERSION", '2.0.24');
23
  define("ROBO_GALLERY_PATH", plugin_dir_path( __FILE__ ));
24
  define("ROBO_GALLERY_SPECIAL", 0);
25
 
8
  * Plugin Name: Robo Gallery
9
  * Plugin URI: http://robosoft.co/robogallery
10
  * Description: A responsive, easy and elegant way to show gallery.
11
+ * Version: 2.0.25
12
  * Author: RoboSoft (c)
13
  * Author URI: http://robosoft.co/robogallery
14
  * License: GPL-2.0+
19
 
20
  if ( ! defined( 'WPINC' ) ) die;
21
  define("ROBO_GALLERY", 1);
22
+ define("ROBO_GALLERY_VERSION", '2.0.25');
23
  define("ROBO_GALLERY_PATH", plugin_dir_path( __FILE__ ));
24
  define("ROBO_GALLERY_SPECIAL", 0);
25