Version Description
Download this release
Release Info
Developer | rextheme |
Plugin | WP VR – 360 Panorama and virtual tour creator for WordPress |
Version | 3.9.0 |
Comparing to | |
See all releases |
Code changes from version 3.8.0 to 3.9.0
- README.txt +5 -2
- public/class-wpvr-public.php +33 -3
- public/css/wpvr-public.css +4 -4
- wpvr.php +33 -4
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.3
|
7 |
-
Stable tag: 3.
|
8 |
Requires PHP: 5.6
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -61,7 +61,7 @@ Get more features for full control of the tour such as scene boundary control, z
|
|
61 |
**Embed virtual tour without hassle**
|
62 |
Once a tour is created, it will generate a tour ID which is used to embed the tour on the website either through Gutenberg block or Elementor widget.
|
63 |
|
64 |
-
The tour will also generate a shortcode. For classic editor or
|
65 |
|
66 |
**Gutenberg Block Support**
|
67 |
On Gutenberg block editor has the WPVR block under the common blocks. It is used to embed the virtual tour. Provide the tour ID and assign your desired width and height, and the tour will be embedded.
|
@@ -320,5 +320,8 @@ Simply add "/plugins/wpvr" to exclusion field (or use the location where you sto
|
|
320 |
= 3.8.0 =
|
321 |
* Load box design changed
|
322 |
|
|
|
|
|
|
|
323 |
== Upgrade Notice ==
|
324 |
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.3
|
7 |
+
Stable tag: 3.9.0
|
8 |
Requires PHP: 5.6
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
61 |
**Embed virtual tour without hassle**
|
62 |
Once a tour is created, it will generate a tour ID which is used to embed the tour on the website either through Gutenberg block or Elementor widget.
|
63 |
|
64 |
+
The tour will also generate a shortcode. For classic editor or WPBakery Page Builder, use the shortcode to embed the tour. (Use the Raw HTML block on WPBakery Page Builder.)
|
65 |
|
66 |
**Gutenberg Block Support**
|
67 |
On Gutenberg block editor has the WPVR block under the common blocks. It is used to embed the virtual tour. Provide the tour ID and assign your desired width and height, and the tour will be embedded.
|
320 |
= 3.8.0 =
|
321 |
* Load box design changed
|
322 |
|
323 |
+
= 3.8.0 =
|
324 |
+
* Gallery toggle fix
|
325 |
+
|
326 |
== Upgrade Notice ==
|
327 |
Please do update the WP VR to the latest version. Each update makes it sure your plugin is supporting all tour features.
|
public/class-wpvr-public.php
CHANGED
@@ -683,13 +683,13 @@ class Wpvr_Public {
|
|
683 |
|
684 |
if ($vrgallery) {
|
685 |
//===Carousal setup===//
|
686 |
-
$html .= '<div id="vrgcontrols">';
|
687 |
|
688 |
-
$html .= '<div class="vrgctrl vrbounce">';
|
689 |
$html .= '</div>';
|
690 |
$html .= '</div>';
|
691 |
|
692 |
-
$html .= '<div id="sccontrols" class="scene-gallery vrowl-carousel owl-theme">';
|
693 |
if (isset($panodata["scene-list"])) {
|
694 |
foreach ($panodata["scene-list"] as $panoscenes) {
|
695 |
$scene_key = $panoscenes['scene-id'];
|
@@ -735,6 +735,7 @@ class Wpvr_Public {
|
|
735 |
jQuery("#controls").css("bottom", "5px");
|
736 |
}
|
737 |
});';
|
|
|
738 |
$html .= '
|
739 |
if (scenes.autoRotate) {
|
740 |
panoshow'.$id.'.on("load", function (){
|
@@ -813,6 +814,35 @@ class Wpvr_Public {
|
|
813 |
}
|
814 |
}
|
815 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
816 |
$html .= '</script>';
|
817 |
//script end
|
818 |
return $html;
|
683 |
|
684 |
if ($vrgallery) {
|
685 |
//===Carousal setup===//
|
686 |
+
$html .= '<div id="vrgcontrols'.$id.'" class="vrgcontrols">';
|
687 |
|
688 |
+
$html .= '<div class="vrgctrl'.$id.' vrbounce">';
|
689 |
$html .= '</div>';
|
690 |
$html .= '</div>';
|
691 |
|
692 |
+
$html .= '<div id="sccontrols'.$id.'" class="scene-gallery vrowl-carousel owl-theme">';
|
693 |
if (isset($panodata["scene-list"])) {
|
694 |
foreach ($panodata["scene-list"] as $panoscenes) {
|
695 |
$scene_key = $panoscenes['scene-id'];
|
735 |
jQuery("#controls").css("bottom", "5px");
|
736 |
}
|
737 |
});';
|
738 |
+
|
739 |
$html .= '
|
740 |
if (scenes.autoRotate) {
|
741 |
panoshow'.$id.'.on("load", function (){
|
814 |
}
|
815 |
}
|
816 |
|
817 |
+
$angle_up = '<i class="fas fa-angle-up"></i>';
|
818 |
+
$angle_down = '<i class="fas fa-angle-down"></i>';
|
819 |
+
$sin_qout = "'";
|
820 |
+
|
821 |
+
$html .= '
|
822 |
+
jQuery(document).ready(function($){
|
823 |
+
jQuery("#sccontrols'.$id.'").hide();
|
824 |
+
jQuery(".vrgctrl'.$id.'").html('.$sin_qout.$angle_up.$sin_qout.');
|
825 |
+
});
|
826 |
+
';
|
827 |
+
|
828 |
+
$html .= '
|
829 |
+
var slide'.$id.' = "down";
|
830 |
+
jQuery(document).on("click","#vrgcontrols'.$id.'",function() {
|
831 |
+
|
832 |
+
if (slide'.$id.' == "up") {
|
833 |
+
jQuery(".vrgctrl'.$id.'").empty();
|
834 |
+
jQuery(".vrgctrl'.$id.'").html('.$sin_qout.$angle_up.$sin_qout.');
|
835 |
+
slide'.$id.' = "down";
|
836 |
+
}
|
837 |
+
else {
|
838 |
+
jQuery(".vrgctrl'.$id.'").empty();
|
839 |
+
jQuery(".vrgctrl'.$id.'").html('.$sin_qout.$angle_down.$sin_qout.');
|
840 |
+
slide'.$id.' = "up";
|
841 |
+
}
|
842 |
+
jQuery("#sccontrols'.$id.'").slideToggle();
|
843 |
+
});
|
844 |
+
';
|
845 |
+
|
846 |
$html .= '</script>';
|
847 |
//script end
|
848 |
return $html;
|
public/css/wpvr-public.css
CHANGED
@@ -150,7 +150,7 @@ div.pnlm-hotspot-base.far:before{
|
|
150 |
70% { top: -0.3em; }
|
151 |
100% { top: 0; }
|
152 |
}
|
153 |
-
|
154 |
position: absolute;
|
155 |
z-index: 3;
|
156 |
width: 20px;
|
@@ -160,7 +160,7 @@ div.pnlm-hotspot-base.far:before{
|
|
160 |
left: 50%;
|
161 |
transform: translateX(-50%);;
|
162 |
}
|
163 |
-
.
|
164 |
color: #fff;
|
165 |
display: inline-block;
|
166 |
cursor: pointer;
|
@@ -174,7 +174,7 @@ div.pnlm-hotspot-base.far:before{
|
|
174 |
.scene-gallery ul li {
|
175 |
list-style: none;
|
176 |
}
|
177 |
-
|
178 |
position: absolute;
|
179 |
bottom: 0;
|
180 |
z-index: 2;
|
@@ -412,7 +412,7 @@ div.custom-ifram {
|
|
412 |
.scene-gallery ul {
|
413 |
width: 100px !important;
|
414 |
}
|
415 |
-
|
416 |
padding: 18px 10px;
|
417 |
}
|
418 |
.scctrl {
|
150 |
70% { top: -0.3em; }
|
151 |
100% { top: 0; }
|
152 |
}
|
153 |
+
.vrgcontrols {
|
154 |
position: absolute;
|
155 |
z-index: 3;
|
156 |
width: 20px;
|
160 |
left: 50%;
|
161 |
transform: translateX(-50%);;
|
162 |
}
|
163 |
+
.vrbounce {
|
164 |
color: #fff;
|
165 |
display: inline-block;
|
166 |
cursor: pointer;
|
174 |
.scene-gallery ul li {
|
175 |
list-style: none;
|
176 |
}
|
177 |
+
.scene-gallery {
|
178 |
position: absolute;
|
179 |
bottom: 0;
|
180 |
z-index: 2;
|
412 |
.scene-gallery ul {
|
413 |
width: 100px !important;
|
414 |
}
|
415 |
+
.scene-gallery {
|
416 |
padding: 18px 10px;
|
417 |
}
|
418 |
.scctrl {
|
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.
|
20 |
* Author: Rextheme
|
21 |
* Author URI: http://rextheme.com/
|
22 |
* License: GPL-2.0+
|
@@ -699,13 +699,13 @@ function wpvr_block_render( $attributes ) {
|
|
699 |
|
700 |
if ($vrgallery) {
|
701 |
//===Carousal setup===//
|
702 |
-
$html .= '<div id="vrgcontrols">';
|
703 |
|
704 |
-
$html .= '<div class="vrgctrl vrbounce">';
|
705 |
$html .= '</div>';
|
706 |
$html .= '</div>';
|
707 |
|
708 |
-
$html .= '<div id="sccontrols" class="scene-gallery vrowl-carousel owl-theme">';
|
709 |
if (isset($panodata["scene-list"])) {
|
710 |
foreach ($panodata["scene-list"] as $panoscenes) {
|
711 |
$scene_key = $panoscenes['scene-id'];
|
@@ -828,6 +828,35 @@ function wpvr_block_render( $attributes ) {
|
|
828 |
}
|
829 |
}
|
830 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
831 |
$html .= '</script>';
|
832 |
//script end
|
833 |
return $html;
|
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.9.0
|
20 |
* Author: Rextheme
|
21 |
* Author URI: http://rextheme.com/
|
22 |
* License: GPL-2.0+
|
699 |
|
700 |
if ($vrgallery) {
|
701 |
//===Carousal setup===//
|
702 |
+
$html .= '<div id="vrgcontrols'.$id.'" class="vrgcontrols">';
|
703 |
|
704 |
+
$html .= '<div class="vrgctrl'.$id.' vrbounce">';
|
705 |
$html .= '</div>';
|
706 |
$html .= '</div>';
|
707 |
|
708 |
+
$html .= '<div id="sccontrols'.$id.'" class="scene-gallery vrowl-carousel owl-theme">';
|
709 |
if (isset($panodata["scene-list"])) {
|
710 |
foreach ($panodata["scene-list"] as $panoscenes) {
|
711 |
$scene_key = $panoscenes['scene-id'];
|
828 |
}
|
829 |
}
|
830 |
|
831 |
+
$angle_up = '<i class="fas fa-angle-up"></i>';
|
832 |
+
$angle_down = '<i class="fas fa-angle-down"></i>';
|
833 |
+
$sin_qout = "'";
|
834 |
+
|
835 |
+
$html .= '
|
836 |
+
jQuery(document).ready(function($){
|
837 |
+
jQuery("#sccontrols'.$id.'").hide();
|
838 |
+
jQuery(".vrgctrl'.$id.'").html('.$sin_qout.$angle_up.$sin_qout.');
|
839 |
+
});
|
840 |
+
';
|
841 |
+
|
842 |
+
$html .= '
|
843 |
+
var slide'.$id.' = "down";
|
844 |
+
jQuery(document).on("click","#vrgcontrols'.$id.'",function() {
|
845 |
+
|
846 |
+
if (slide'.$id.' == "up") {
|
847 |
+
jQuery(".vrgctrl'.$id.'").empty();
|
848 |
+
jQuery(".vrgctrl'.$id.'").html('.$sin_qout.$angle_up.$sin_qout.');
|
849 |
+
slide'.$id.' = "down";
|
850 |
+
}
|
851 |
+
else {
|
852 |
+
jQuery(".vrgctrl'.$id.'").empty();
|
853 |
+
jQuery(".vrgctrl'.$id.'").html('.$sin_qout.$angle_down.$sin_qout.');
|
854 |
+
slide'.$id.' = "up";
|
855 |
+
}
|
856 |
+
jQuery("#sccontrols'.$id.'").slideToggle();
|
857 |
+
});
|
858 |
+
';
|
859 |
+
|
860 |
$html .= '</script>';
|
861 |
//script end
|
862 |
return $html;
|