WP VR – 360 Panorama and virtual tour creator for WordPress - Version 3.4.1

Version Description

  • Gallery carousal fix

=

Download this release

Release Info

Developer rextheme
Plugin Icon 128x128 WP VR – 360 Panorama and virtual tour creator for WordPress
Version 3.4.1
Comparing to
See all releases

Code changes from version 3.4.0 to 3.4.1

Files changed (4) hide show
  1. README.txt +5 -2
  2. admin/class-wpvr-admin.php +15 -18
  3. admin/js/wpvr-admin.js +3 -3
  4. wpvr.php +1 -1
README.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://rextheme.com/wp-vr-360-panorama-and-virtual-tour-creator-fo
4
  Tags: virtual tour, real estate tour, panorama, panorama viewer, virtual tour, 360 panorama, interactive tour
5
  Requires at least: 4.0
6
  Tested up to: 5.2
7
- Stable tag: 3.4.0
8
  Requires PHP: 5.6
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -80,7 +80,7 @@ For more control over creating a virtual tour, learn about the [Premium version]
80
  * Add multiple scenes and hotspots
81
  * Auto rotation with speed control
82
  * Auto rotation pause and stop control
83
- * Keyborad direction keys or mouse to navigate
84
  * Keyboard +/- keys or mouse scroll to control zoom
85
  * Scene type hotspot to connect scenes
86
  * Info type hotspots to give information, on-click or hover
@@ -259,5 +259,8 @@ You will find the gyroscope icon at the top left side.
259
  = 3.4.0 =
260
  * Repeater delete confirmation fix.
261
 
 
 
 
262
  == Upgrade Notice ==
263
  Please do update the WP VR to the latest version. Each update makes it sure your plugin is supporting all tour features.  
4
  Tags: virtual tour, real estate tour, panorama, panorama viewer, virtual tour, 360 panorama, interactive tour
5
  Requires at least: 4.0
6
  Tested up to: 5.2
7
+ Stable tag: 3.4.1
8
  Requires PHP: 5.6
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
80
  * Add multiple scenes and hotspots
81
  * Auto rotation with speed control
82
  * Auto rotation pause and stop control
83
+ * Keyboard direction keys or mouse to navigate
84
  * Keyboard +/- keys or mouse scroll to control zoom
85
  * Scene type hotspot to connect scenes
86
  * Info type hotspots to give information, on-click or hover
259
  = 3.4.0 =
260
  * Repeater delete confirmation fix.
261
 
262
+ = 3.4.1 =
263
+ * Gallery carousal fix
264
+
265
  == Upgrade Notice ==
266
  Please do update the WP VR to the latest version. Each update makes it sure your plugin is supporting all tour features.  
admin/class-wpvr-admin.php CHANGED
@@ -80,25 +80,22 @@ class Wpvr_Admin {
80
  * class.
81
  */
82
 
83
- // wp_enqueue_style( $this->plugin_name . 'fontawesome', 'https://use.fontawesome.com/releases/v5.7.2/css/all.css', array(), $this->version, 'all' );
84
- wp_enqueue_style( $this->plugin_name . 'fontawesome', plugin_dir_url( __FILE__ ) . 'lib/fontawesome/css/all.css', array(), $this->version, 'all' );
85
- // wp_enqueue_style( 'materialize-icons', 'https://fonts.googleapis.com/icon?family=Material+Icons', array(), $this->version, 'all' );
86
- wp_enqueue_style( 'materialize-icons', plugin_dir_url( __FILE__ ) . 'lib/materializeicon.css', array(), $this->version, 'all' );
87
-
88
- $screen = get_current_screen();
89
 
90
- if ($screen->id=="toplevel_page_wpvr") {
91
- wp_enqueue_style( 'materialize-css', plugin_dir_url( __FILE__ ) . 'css/materialize.min.css', array(), $this->version, 'all' );
92
- }
93
- wp_enqueue_style('panellium-css', plugin_dir_url( __FILE__ ) . 'lib/pannellum/src/css/pannellum.css', array(), true);
94
- wp_enqueue_style('videojs-css', plugin_dir_url( __FILE__ ) . 'lib/pannellum/src/css/video-js.css', array(), true);
95
- if ($screen->id=="wpvr_item") {
96
- wp_enqueue_style( 'icon-picker-css', plugin_dir_url( __FILE__ ) . 'css/jquery.fonticonpicker.min.css', array(), $this->version, 'all' );
97
- wp_enqueue_style( 'icon-picker-css-theme', plugin_dir_url( __FILE__ ) . 'css/jquery.fonticonpicker.grey.min.css', array(), $this->version, 'all' );
98
- wp_enqueue_style( 'owl-css', plugin_dir_url( __FILE__ ) . 'css/owl.carousel.css', array(), $this->version, 'all' );
99
- }
100
-
101
- wp_enqueue_style( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'css/wpvr-admin.css', array(), $this->version, 'all' );
102
 
103
  }
104
 
80
  * class.
81
  */
82
 
83
+ $screen = get_current_screen();
84
+ if ($screen->id=="toplevel_page_wpvr") {
85
+ wp_enqueue_style( 'materialize-css', plugin_dir_url( __FILE__ ) . 'css/materialize.min.css', array(), $this->version, 'all' );
86
+ wp_enqueue_style( 'materialize-icons', plugin_dir_url( __FILE__ ) . 'lib/materializeicon.css', array(), $this->version, 'all' );
87
+ wp_enqueue_style( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'css/wpvr-admin.css', array(), $this->version, 'all' );
88
+ }
89
 
90
+ if ($screen->id=="wpvr_item") {
91
+ wp_enqueue_style( $this->plugin_name . 'fontawesome', plugin_dir_url( __FILE__ ) . 'lib/fontawesome/css/all.css', array(), $this->version, 'all' );
92
+ wp_enqueue_style( 'icon-picker-css', plugin_dir_url( __FILE__ ) . 'css/jquery.fonticonpicker.min.css', array(), $this->version, 'all' );
93
+ wp_enqueue_style( 'icon-picker-css-theme', plugin_dir_url( __FILE__ ) . 'css/jquery.fonticonpicker.grey.min.css', array(), $this->version, 'all' );
94
+ wp_enqueue_style( 'owl-css', plugin_dir_url( __FILE__ ) . 'css/owl.carousel.css', array(), $this->version, 'all' );
95
+ wp_enqueue_style('panellium-css', plugin_dir_url( __FILE__ ) . 'lib/pannellum/src/css/pannellum.css', array(), true);
96
+ wp_enqueue_style('videojs-css', plugin_dir_url( __FILE__ ) . 'lib/pannellum/src/css/video-js.css', array(), true);
97
+ wp_enqueue_style( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'css/wpvr-admin.css', array(), $this->version, 'all' );
98
+ }
 
 
 
99
 
100
  }
101
 
admin/js/wpvr-admin.js CHANGED
@@ -101,13 +101,13 @@
101
  if (scenes) {
102
  $('.scene-gallery').trigger('destroy.owl.carousel');
103
  $('.scene-gallery').empty();
 
 
 
104
  $(".vrowl-carousel").owlCarousel({
105
  margin:10,
106
  autoWidth:true,
107
  });
108
- $.each(scenes.scenes, function (key, val) {
109
- $('.owl-stage').append('<div class="owl-item" style="width: auto; margin-right: 10px;" ><ul style="width:150px;" ><li>'+key+'</li><li title="Double click to view scene"><img class="scctrl" id="'+key+'_gallery" src="'+val.panorama+'"></li></ul></div>');
110
- });
111
  }
112
  var panoshow = pannellum.viewer(response.data[0]["panoid"], scenes);
113
  var touchtime = 0;
101
  if (scenes) {
102
  $('.scene-gallery').trigger('destroy.owl.carousel');
103
  $('.scene-gallery').empty();
104
+ $.each(scenes.scenes, function (key, val) {
105
+ $('.scene-gallery').append('<ul style="width:150px;"><li>'+key+'</li><li title="Double click to view scene"><img class="scctrl" id="'+key+'_gallery" src="'+val.panorama+'"></li></ul>');
106
+ });
107
  $(".vrowl-carousel").owlCarousel({
108
  margin:10,
109
  autoWidth:true,
110
  });
 
 
 
111
  }
112
  var panoshow = pannellum.viewer(response.data[0]["panoid"], scenes);
113
  var touchtime = 0;
wpvr.php CHANGED
@@ -16,7 +16,7 @@
16
  * Plugin Name: WP VR
17
  * Plugin URI: https://rextheme.com/wpvr/
18
  * Description: WP VR - 360 Panorama and virtual tour creator for WordPress is a customized panaroma & virtual builder tool for WordPress Website.
19
- * Version: 3.4.0
20
  * Author: Rextheme
21
  * Author URI: http://rextheme.com/
22
  * License: GPL-2.0+
16
  * Plugin Name: WP VR
17
  * Plugin URI: https://rextheme.com/wpvr/
18
  * Description: WP VR - 360 Panorama and virtual tour creator for WordPress is a customized panaroma & virtual builder tool for WordPress Website.
19
+ * Version: 3.4.1
20
  * Author: Rextheme
21
  * Author URI: http://rextheme.com/
22
  * License: GPL-2.0+