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

Version Description

(19-05-2022) = * Fix: ZenCDN Removed. * Fix: Conflict between On-click Content & URL fields * Fix: Reset inserted data when Hotspot Type is changed (Info, Scene). * Tweak: Better loading logic while Previewing Tour on General, Scenes, & Hotspots tabs. * Tweak: Better loading logic for Getting Started & Settings pages

Download this release

Release Info

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

Code changes from version 7.3.6 to 7.3.7

LICENSE.txt CHANGED
@@ -1,339 +1,339 @@
1
- GNU GENERAL PUBLIC LICENSE
2
- Version 2, June 1991
3
-
4
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
5
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6
- Everyone is permitted to copy and distribute verbatim copies
7
- of this license document, but changing it is not allowed.
8
-
9
- Preamble
10
-
11
- The licenses for most software are designed to take away your
12
- freedom to share and change it. By contrast, the GNU General Public
13
- License is intended to guarantee your freedom to share and change free
14
- software--to make sure the software is free for all its users. This
15
- General Public License applies to most of the Free Software
16
- Foundation's software and to any other program whose authors commit to
17
- using it. (Some other Free Software Foundation software is covered by
18
- the GNU Lesser General Public License instead.) You can apply it to
19
- your programs, too.
20
-
21
- When we speak of free software, we are referring to freedom, not
22
- price. Our General Public Licenses are designed to make sure that you
23
- have the freedom to distribute copies of free software (and charge for
24
- this service if you wish), that you receive source code or can get it
25
- if you want it, that you can change the software or use pieces of it
26
- in new free programs; and that you know you can do these things.
27
-
28
- To protect your rights, we need to make restrictions that forbid
29
- anyone to deny you these rights or to ask you to surrender the rights.
30
- These restrictions translate to certain responsibilities for you if you
31
- distribute copies of the software, or if you modify it.
32
-
33
- For example, if you distribute copies of such a program, whether
34
- gratis or for a fee, you must give the recipients all the rights that
35
- you have. You must make sure that they, too, receive or can get the
36
- source code. And you must show them these terms so they know their
37
- rights.
38
-
39
- We protect your rights with two steps: (1) copyright the software, and
40
- (2) offer you this license which gives you legal permission to copy,
41
- distribute and/or modify the software.
42
-
43
- Also, for each author's protection and ours, we want to make certain
44
- that everyone understands that there is no warranty for this free
45
- software. If the software is modified by someone else and passed on, we
46
- want its recipients to know that what they have is not the original, so
47
- that any problems introduced by others will not reflect on the original
48
- authors' reputations.
49
-
50
- Finally, any free program is threatened constantly by software
51
- patents. We wish to avoid the danger that redistributors of a free
52
- program will individually obtain patent licenses, in effect making the
53
- program proprietary. To prevent this, we have made it clear that any
54
- patent must be licensed for everyone's free use or not licensed at all.
55
-
56
- The precise terms and conditions for copying, distribution and
57
- modification follow.
58
-
59
- GNU GENERAL PUBLIC LICENSE
60
- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61
-
62
- 0. This License applies to any program or other work which contains
63
- a notice placed by the copyright holder saying it may be distributed
64
- under the terms of this General Public License. The "Program", below,
65
- refers to any such program or work, and a "work based on the Program"
66
- means either the Program or any derivative work under copyright law:
67
- that is to say, a work containing the Program or a portion of it,
68
- either verbatim or with modifications and/or translated into another
69
- language. (Hereinafter, translation is included without limitation in
70
- the term "modification".) Each licensee is addressed as "you".
71
-
72
- Activities other than copying, distribution and modification are not
73
- covered by this License; they are outside its scope. The act of
74
- running the Program is not restricted, and the output from the Program
75
- is covered only if its contents constitute a work based on the
76
- Program (independent of having been made by running the Program).
77
- Whether that is true depends on what the Program does.
78
-
79
- 1. You may copy and distribute verbatim copies of the Program's
80
- source code as you receive it, in any medium, provided that you
81
- conspicuously and appropriately publish on each copy an appropriate
82
- copyright notice and disclaimer of warranty; keep intact all the
83
- notices that refer to this License and to the absence of any warranty;
84
- and give any other recipients of the Program a copy of this License
85
- along with the Program.
86
-
87
- You may charge a fee for the physical act of transferring a copy, and
88
- you may at your option offer warranty protection in exchange for a fee.
89
-
90
- 2. You may modify your copy or copies of the Program or any portion
91
- of it, thus forming a work based on the Program, and copy and
92
- distribute such modifications or work under the terms of Section 1
93
- above, provided that you also meet all of these conditions:
94
-
95
- a) You must cause the modified files to carry prominent notices
96
- stating that you changed the files and the date of any change.
97
-
98
- b) You must cause any work that you distribute or publish, that in
99
- whole or in part contains or is derived from the Program or any
100
- part thereof, to be licensed as a whole at no charge to all third
101
- parties under the terms of this License.
102
-
103
- c) If the modified program normally reads commands interactively
104
- when run, you must cause it, when started running for such
105
- interactive use in the most ordinary way, to print or display an
106
- announcement including an appropriate copyright notice and a
107
- notice that there is no warranty (or else, saying that you provide
108
- a warranty) and that users may redistribute the program under
109
- these conditions, and telling the user how to view a copy of this
110
- License. (Exception: if the Program itself is interactive but
111
- does not normally print such an announcement, your work based on
112
- the Program is not required to print an announcement.)
113
-
114
- These requirements apply to the modified work as a whole. If
115
- identifiable sections of that work are not derived from the Program,
116
- and can be reasonably considered independent and separate works in
117
- themselves, then this License, and its terms, do not apply to those
118
- sections when you distribute them as separate works. But when you
119
- distribute the same sections as part of a whole which is a work based
120
- on the Program, the distribution of the whole must be on the terms of
121
- this License, whose permissions for other licensees extend to the
122
- entire whole, and thus to each and every part regardless of who wrote it.
123
-
124
- Thus, it is not the intent of this section to claim rights or contest
125
- your rights to work written entirely by you; rather, the intent is to
126
- exercise the right to control the distribution of derivative or
127
- collective works based on the Program.
128
-
129
- In addition, mere aggregation of another work not based on the Program
130
- with the Program (or with a work based on the Program) on a volume of
131
- a storage or distribution medium does not bring the other work under
132
- the scope of this License.
133
-
134
- 3. You may copy and distribute the Program (or a work based on it,
135
- under Section 2) in object code or executable form under the terms of
136
- Sections 1 and 2 above provided that you also do one of the following:
137
-
138
- a) Accompany it with the complete corresponding machine-readable
139
- source code, which must be distributed under the terms of Sections
140
- 1 and 2 above on a medium customarily used for software interchange; or,
141
-
142
- b) Accompany it with a written offer, valid for at least three
143
- years, to give any third party, for a charge no more than your
144
- cost of physically performing source distribution, a complete
145
- machine-readable copy of the corresponding source code, to be
146
- distributed under the terms of Sections 1 and 2 above on a medium
147
- customarily used for software interchange; or,
148
-
149
- c) Accompany it with the information you received as to the offer
150
- to distribute corresponding source code. (This alternative is
151
- allowed only for noncommercial distribution and only if you
152
- received the program in object code or executable form with such
153
- an offer, in accord with Subsection b above.)
154
-
155
- The source code for a work means the preferred form of the work for
156
- making modifications to it. For an executable work, complete source
157
- code means all the source code for all modules it contains, plus any
158
- associated interface definition files, plus the scripts used to
159
- control compilation and installation of the executable. However, as a
160
- special exception, the source code distributed need not include
161
- anything that is normally distributed (in either source or binary
162
- form) with the major components (compiler, kernel, and so on) of the
163
- operating system on which the executable runs, unless that component
164
- itself accompanies the executable.
165
-
166
- If distribution of executable or object code is made by offering
167
- access to copy from a designated place, then offering equivalent
168
- access to copy the source code from the same place counts as
169
- distribution of the source code, even though third parties are not
170
- compelled to copy the source along with the object code.
171
-
172
- 4. You may not copy, modify, sublicense, or distribute the Program
173
- except as expressly provided under this License. Any attempt
174
- otherwise to copy, modify, sublicense or distribute the Program is
175
- void, and will automatically terminate your rights under this License.
176
- However, parties who have received copies, or rights, from you under
177
- this License will not have their licenses terminated so long as such
178
- parties remain in full compliance.
179
-
180
- 5. You are not required to accept this License, since you have not
181
- signed it. However, nothing else grants you permission to modify or
182
- distribute the Program or its derivative works. These actions are
183
- prohibited by law if you do not accept this License. Therefore, by
184
- modifying or distributing the Program (or any work based on the
185
- Program), you indicate your acceptance of this License to do so, and
186
- all its terms and conditions for copying, distributing or modifying
187
- the Program or works based on it.
188
-
189
- 6. Each time you redistribute the Program (or any work based on the
190
- Program), the recipient automatically receives a license from the
191
- original licensor to copy, distribute or modify the Program subject to
192
- these terms and conditions. You may not impose any further
193
- restrictions on the recipients' exercise of the rights granted herein.
194
- You are not responsible for enforcing compliance by third parties to
195
- this License.
196
-
197
- 7. If, as a consequence of a court judgment or allegation of patent
198
- infringement or for any other reason (not limited to patent issues),
199
- conditions are imposed on you (whether by court order, agreement or
200
- otherwise) that contradict the conditions of this License, they do not
201
- excuse you from the conditions of this License. If you cannot
202
- distribute so as to satisfy simultaneously your obligations under this
203
- License and any other pertinent obligations, then as a consequence you
204
- may not distribute the Program at all. For example, if a patent
205
- license would not permit royalty-free redistribution of the Program by
206
- all those who receive copies directly or indirectly through you, then
207
- the only way you could satisfy both it and this License would be to
208
- refrain entirely from distribution of the Program.
209
-
210
- If any portion of this section is held invalid or unenforceable under
211
- any particular circumstance, the balance of the section is intended to
212
- apply and the section as a whole is intended to apply in other
213
- circumstances.
214
-
215
- It is not the purpose of this section to induce you to infringe any
216
- patents or other property right claims or to contest validity of any
217
- such claims; this section has the sole purpose of protecting the
218
- integrity of the free software distribution system, which is
219
- implemented by public license practices. Many people have made
220
- generous contributions to the wide range of software distributed
221
- through that system in reliance on consistent application of that
222
- system; it is up to the author/donor to decide if he or she is willing
223
- to distribute software through any other system and a licensee cannot
224
- impose that choice.
225
-
226
- This section is intended to make thoroughly clear what is believed to
227
- be a consequence of the rest of this License.
228
-
229
- 8. If the distribution and/or use of the Program is restricted in
230
- certain countries either by patents or by copyrighted interfaces, the
231
- original copyright holder who places the Program under this License
232
- may add an explicit geographical distribution limitation excluding
233
- those countries, so that distribution is permitted only in or among
234
- countries not thus excluded. In such case, this License incorporates
235
- the limitation as if written in the body of this License.
236
-
237
- 9. The Free Software Foundation may publish revised and/or new versions
238
- of the General Public License from time to time. Such new versions will
239
- be similar in spirit to the present version, but may differ in detail to
240
- address new problems or concerns.
241
-
242
- Each version is given a distinguishing version number. If the Program
243
- specifies a version number of this License which applies to it and "any
244
- later version", you have the option of following the terms and conditions
245
- either of that version or of any later version published by the Free
246
- Software Foundation. If the Program does not specify a version number of
247
- this License, you may choose any version ever published by the Free Software
248
- Foundation.
249
-
250
- 10. If you wish to incorporate parts of the Program into other free
251
- programs whose distribution conditions are different, write to the author
252
- to ask for permission. For software which is copyrighted by the Free
253
- Software Foundation, write to the Free Software Foundation; we sometimes
254
- make exceptions for this. Our decision will be guided by the two goals
255
- of preserving the free status of all derivatives of our free software and
256
- of promoting the sharing and reuse of software generally.
257
-
258
- NO WARRANTY
259
-
260
- 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261
- FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
262
- OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263
- PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264
- OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265
- MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
266
- TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
267
- PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268
- REPAIR OR CORRECTION.
269
-
270
- 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271
- WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272
- REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273
- INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274
- OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275
- TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276
- YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277
- PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278
- POSSIBILITY OF SUCH DAMAGES.
279
-
280
- END OF TERMS AND CONDITIONS
281
-
282
- How to Apply These Terms to Your New Programs
283
-
284
- If you develop a new program, and you want it to be of the greatest
285
- possible use to the public, the best way to achieve this is to make it
286
- free software which everyone can redistribute and change under these terms.
287
-
288
- To do so, attach the following notices to the program. It is safest
289
- to attach them to the start of each source file to most effectively
290
- convey the exclusion of warranty; and each file should have at least
291
- the "copyright" line and a pointer to where the full notice is found.
292
-
293
- <one line to give the program's name and a brief idea of what it does.>
294
- Copyright (C) <year> <name of author>
295
-
296
- This program is free software; you can redistribute it and/or modify
297
- it under the terms of the GNU General Public License as published by
298
- the Free Software Foundation; either version 2 of the License, or
299
- (at your option) any later version.
300
-
301
- This program is distributed in the hope that it will be useful,
302
- but WITHOUT ANY WARRANTY; without even the implied warranty of
303
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
304
- GNU General Public License for more details.
305
-
306
- You should have received a copy of the GNU General Public License along
307
- with this program; if not, write to the Free Software Foundation, Inc.,
308
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
309
-
310
- Also add information on how to contact you by electronic and paper mail.
311
-
312
- If the program is interactive, make it output a short notice like this
313
- when it starts in an interactive mode:
314
-
315
- Gnomovision version 69, Copyright (C) year name of author
316
- Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
317
- This is free software, and you are welcome to redistribute it
318
- under certain conditions; type `show c' for details.
319
-
320
- The hypothetical commands `show w' and `show c' should show the appropriate
321
- parts of the General Public License. Of course, the commands you use may
322
- be called something other than `show w' and `show c'; they could even be
323
- mouse-clicks or menu items--whatever suits your program.
324
-
325
- You should also get your employer (if you work as a programmer) or your
326
- school, if any, to sign a "copyright disclaimer" for the program, if
327
- necessary. Here is a sample; alter the names:
328
-
329
- Yoyodyne, Inc., hereby disclaims all copyright interest in the program
330
- `Gnomovision' (which makes passes at compilers) written by James Hacker.
331
-
332
- <signature of Ty Coon>, 1 April 1989
333
- Ty Coon, President of Vice
334
-
335
- This General Public License does not permit incorporating your program into
336
- proprietary programs. If your program is a subroutine library, you may
337
- consider it more useful to permit linking proprietary applications with the
338
- library. If this is what you want to do, use the GNU Lesser General
339
  Public License instead of this License.
1
+ GNU GENERAL PUBLIC LICENSE
2
+ Version 2, June 1991
3
+
4
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
5
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6
+ Everyone is permitted to copy and distribute verbatim copies
7
+ of this license document, but changing it is not allowed.
8
+
9
+ Preamble
10
+
11
+ The licenses for most software are designed to take away your
12
+ freedom to share and change it. By contrast, the GNU General Public
13
+ License is intended to guarantee your freedom to share and change free
14
+ software--to make sure the software is free for all its users. This
15
+ General Public License applies to most of the Free Software
16
+ Foundation's software and to any other program whose authors commit to
17
+ using it. (Some other Free Software Foundation software is covered by
18
+ the GNU Lesser General Public License instead.) You can apply it to
19
+ your programs, too.
20
+
21
+ When we speak of free software, we are referring to freedom, not
22
+ price. Our General Public Licenses are designed to make sure that you
23
+ have the freedom to distribute copies of free software (and charge for
24
+ this service if you wish), that you receive source code or can get it
25
+ if you want it, that you can change the software or use pieces of it
26
+ in new free programs; and that you know you can do these things.
27
+
28
+ To protect your rights, we need to make restrictions that forbid
29
+ anyone to deny you these rights or to ask you to surrender the rights.
30
+ These restrictions translate to certain responsibilities for you if you
31
+ distribute copies of the software, or if you modify it.
32
+
33
+ For example, if you distribute copies of such a program, whether
34
+ gratis or for a fee, you must give the recipients all the rights that
35
+ you have. You must make sure that they, too, receive or can get the
36
+ source code. And you must show them these terms so they know their
37
+ rights.
38
+
39
+ We protect your rights with two steps: (1) copyright the software, and
40
+ (2) offer you this license which gives you legal permission to copy,
41
+ distribute and/or modify the software.
42
+
43
+ Also, for each author's protection and ours, we want to make certain
44
+ that everyone understands that there is no warranty for this free
45
+ software. If the software is modified by someone else and passed on, we
46
+ want its recipients to know that what they have is not the original, so
47
+ that any problems introduced by others will not reflect on the original
48
+ authors' reputations.
49
+
50
+ Finally, any free program is threatened constantly by software
51
+ patents. We wish to avoid the danger that redistributors of a free
52
+ program will individually obtain patent licenses, in effect making the
53
+ program proprietary. To prevent this, we have made it clear that any
54
+ patent must be licensed for everyone's free use or not licensed at all.
55
+
56
+ The precise terms and conditions for copying, distribution and
57
+ modification follow.
58
+
59
+ GNU GENERAL PUBLIC LICENSE
60
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61
+
62
+ 0. This License applies to any program or other work which contains
63
+ a notice placed by the copyright holder saying it may be distributed
64
+ under the terms of this General Public License. The "Program", below,
65
+ refers to any such program or work, and a "work based on the Program"
66
+ means either the Program or any derivative work under copyright law:
67
+ that is to say, a work containing the Program or a portion of it,
68
+ either verbatim or with modifications and/or translated into another
69
+ language. (Hereinafter, translation is included without limitation in
70
+ the term "modification".) Each licensee is addressed as "you".
71
+
72
+ Activities other than copying, distribution and modification are not
73
+ covered by this License; they are outside its scope. The act of
74
+ running the Program is not restricted, and the output from the Program
75
+ is covered only if its contents constitute a work based on the
76
+ Program (independent of having been made by running the Program).
77
+ Whether that is true depends on what the Program does.
78
+
79
+ 1. You may copy and distribute verbatim copies of the Program's
80
+ source code as you receive it, in any medium, provided that you
81
+ conspicuously and appropriately publish on each copy an appropriate
82
+ copyright notice and disclaimer of warranty; keep intact all the
83
+ notices that refer to this License and to the absence of any warranty;
84
+ and give any other recipients of the Program a copy of this License
85
+ along with the Program.
86
+
87
+ You may charge a fee for the physical act of transferring a copy, and
88
+ you may at your option offer warranty protection in exchange for a fee.
89
+
90
+ 2. You may modify your copy or copies of the Program or any portion
91
+ of it, thus forming a work based on the Program, and copy and
92
+ distribute such modifications or work under the terms of Section 1
93
+ above, provided that you also meet all of these conditions:
94
+
95
+ a) You must cause the modified files to carry prominent notices
96
+ stating that you changed the files and the date of any change.
97
+
98
+ b) You must cause any work that you distribute or publish, that in
99
+ whole or in part contains or is derived from the Program or any
100
+ part thereof, to be licensed as a whole at no charge to all third
101
+ parties under the terms of this License.
102
+
103
+ c) If the modified program normally reads commands interactively
104
+ when run, you must cause it, when started running for such
105
+ interactive use in the most ordinary way, to print or display an
106
+ announcement including an appropriate copyright notice and a
107
+ notice that there is no warranty (or else, saying that you provide
108
+ a warranty) and that users may redistribute the program under
109
+ these conditions, and telling the user how to view a copy of this
110
+ License. (Exception: if the Program itself is interactive but
111
+ does not normally print such an announcement, your work based on
112
+ the Program is not required to print an announcement.)
113
+
114
+ These requirements apply to the modified work as a whole. If
115
+ identifiable sections of that work are not derived from the Program,
116
+ and can be reasonably considered independent and separate works in
117
+ themselves, then this License, and its terms, do not apply to those
118
+ sections when you distribute them as separate works. But when you
119
+ distribute the same sections as part of a whole which is a work based
120
+ on the Program, the distribution of the whole must be on the terms of
121
+ this License, whose permissions for other licensees extend to the
122
+ entire whole, and thus to each and every part regardless of who wrote it.
123
+
124
+ Thus, it is not the intent of this section to claim rights or contest
125
+ your rights to work written entirely by you; rather, the intent is to
126
+ exercise the right to control the distribution of derivative or
127
+ collective works based on the Program.
128
+
129
+ In addition, mere aggregation of another work not based on the Program
130
+ with the Program (or with a work based on the Program) on a volume of
131
+ a storage or distribution medium does not bring the other work under
132
+ the scope of this License.
133
+
134
+ 3. You may copy and distribute the Program (or a work based on it,
135
+ under Section 2) in object code or executable form under the terms of
136
+ Sections 1 and 2 above provided that you also do one of the following:
137
+
138
+ a) Accompany it with the complete corresponding machine-readable
139
+ source code, which must be distributed under the terms of Sections
140
+ 1 and 2 above on a medium customarily used for software interchange; or,
141
+
142
+ b) Accompany it with a written offer, valid for at least three
143
+ years, to give any third party, for a charge no more than your
144
+ cost of physically performing source distribution, a complete
145
+ machine-readable copy of the corresponding source code, to be
146
+ distributed under the terms of Sections 1 and 2 above on a medium
147
+ customarily used for software interchange; or,
148
+
149
+ c) Accompany it with the information you received as to the offer
150
+ to distribute corresponding source code. (This alternative is
151
+ allowed only for noncommercial distribution and only if you
152
+ received the program in object code or executable form with such
153
+ an offer, in accord with Subsection b above.)
154
+
155
+ The source code for a work means the preferred form of the work for
156
+ making modifications to it. For an executable work, complete source
157
+ code means all the source code for all modules it contains, plus any
158
+ associated interface definition files, plus the scripts used to
159
+ control compilation and installation of the executable. However, as a
160
+ special exception, the source code distributed need not include
161
+ anything that is normally distributed (in either source or binary
162
+ form) with the major components (compiler, kernel, and so on) of the
163
+ operating system on which the executable runs, unless that component
164
+ itself accompanies the executable.
165
+
166
+ If distribution of executable or object code is made by offering
167
+ access to copy from a designated place, then offering equivalent
168
+ access to copy the source code from the same place counts as
169
+ distribution of the source code, even though third parties are not
170
+ compelled to copy the source along with the object code.
171
+
172
+ 4. You may not copy, modify, sublicense, or distribute the Program
173
+ except as expressly provided under this License. Any attempt
174
+ otherwise to copy, modify, sublicense or distribute the Program is
175
+ void, and will automatically terminate your rights under this License.
176
+ However, parties who have received copies, or rights, from you under
177
+ this License will not have their licenses terminated so long as such
178
+ parties remain in full compliance.
179
+
180
+ 5. You are not required to accept this License, since you have not
181
+ signed it. However, nothing else grants you permission to modify or
182
+ distribute the Program or its derivative works. These actions are
183
+ prohibited by law if you do not accept this License. Therefore, by
184
+ modifying or distributing the Program (or any work based on the
185
+ Program), you indicate your acceptance of this License to do so, and
186
+ all its terms and conditions for copying, distributing or modifying
187
+ the Program or works based on it.
188
+
189
+ 6. Each time you redistribute the Program (or any work based on the
190
+ Program), the recipient automatically receives a license from the
191
+ original licensor to copy, distribute or modify the Program subject to
192
+ these terms and conditions. You may not impose any further
193
+ restrictions on the recipients' exercise of the rights granted herein.
194
+ You are not responsible for enforcing compliance by third parties to
195
+ this License.
196
+
197
+ 7. If, as a consequence of a court judgment or allegation of patent
198
+ infringement or for any other reason (not limited to patent issues),
199
+ conditions are imposed on you (whether by court order, agreement or
200
+ otherwise) that contradict the conditions of this License, they do not
201
+ excuse you from the conditions of this License. If you cannot
202
+ distribute so as to satisfy simultaneously your obligations under this
203
+ License and any other pertinent obligations, then as a consequence you
204
+ may not distribute the Program at all. For example, if a patent
205
+ license would not permit royalty-free redistribution of the Program by
206
+ all those who receive copies directly or indirectly through you, then
207
+ the only way you could satisfy both it and this License would be to
208
+ refrain entirely from distribution of the Program.
209
+
210
+ If any portion of this section is held invalid or unenforceable under
211
+ any particular circumstance, the balance of the section is intended to
212
+ apply and the section as a whole is intended to apply in other
213
+ circumstances.
214
+
215
+ It is not the purpose of this section to induce you to infringe any
216
+ patents or other property right claims or to contest validity of any
217
+ such claims; this section has the sole purpose of protecting the
218
+ integrity of the free software distribution system, which is
219
+ implemented by public license practices. Many people have made
220
+ generous contributions to the wide range of software distributed
221
+ through that system in reliance on consistent application of that
222
+ system; it is up to the author/donor to decide if he or she is willing
223
+ to distribute software through any other system and a licensee cannot
224
+ impose that choice.
225
+
226
+ This section is intended to make thoroughly clear what is believed to
227
+ be a consequence of the rest of this License.
228
+
229
+ 8. If the distribution and/or use of the Program is restricted in
230
+ certain countries either by patents or by copyrighted interfaces, the
231
+ original copyright holder who places the Program under this License
232
+ may add an explicit geographical distribution limitation excluding
233
+ those countries, so that distribution is permitted only in or among
234
+ countries not thus excluded. In such case, this License incorporates
235
+ the limitation as if written in the body of this License.
236
+
237
+ 9. The Free Software Foundation may publish revised and/or new versions
238
+ of the General Public License from time to time. Such new versions will
239
+ be similar in spirit to the present version, but may differ in detail to
240
+ address new problems or concerns.
241
+
242
+ Each version is given a distinguishing version number. If the Program
243
+ specifies a version number of this License which applies to it and "any
244
+ later version", you have the option of following the terms and conditions
245
+ either of that version or of any later version published by the Free
246
+ Software Foundation. If the Program does not specify a version number of
247
+ this License, you may choose any version ever published by the Free Software
248
+ Foundation.
249
+
250
+ 10. If you wish to incorporate parts of the Program into other free
251
+ programs whose distribution conditions are different, write to the author
252
+ to ask for permission. For software which is copyrighted by the Free
253
+ Software Foundation, write to the Free Software Foundation; we sometimes
254
+ make exceptions for this. Our decision will be guided by the two goals
255
+ of preserving the free status of all derivatives of our free software and
256
+ of promoting the sharing and reuse of software generally.
257
+
258
+ NO WARRANTY
259
+
260
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261
+ FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
262
+ OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263
+ PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264
+ OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
266
+ TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
267
+ PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268
+ REPAIR OR CORRECTION.
269
+
270
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271
+ WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272
+ REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273
+ INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274
+ OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275
+ TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276
+ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277
+ PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278
+ POSSIBILITY OF SUCH DAMAGES.
279
+
280
+ END OF TERMS AND CONDITIONS
281
+
282
+ How to Apply These Terms to Your New Programs
283
+
284
+ If you develop a new program, and you want it to be of the greatest
285
+ possible use to the public, the best way to achieve this is to make it
286
+ free software which everyone can redistribute and change under these terms.
287
+
288
+ To do so, attach the following notices to the program. It is safest
289
+ to attach them to the start of each source file to most effectively
290
+ convey the exclusion of warranty; and each file should have at least
291
+ the "copyright" line and a pointer to where the full notice is found.
292
+
293
+ <one line to give the program's name and a brief idea of what it does.>
294
+ Copyright (C) <year> <name of author>
295
+
296
+ This program is free software; you can redistribute it and/or modify
297
+ it under the terms of the GNU General Public License as published by
298
+ the Free Software Foundation; either version 2 of the License, or
299
+ (at your option) any later version.
300
+
301
+ This program is distributed in the hope that it will be useful,
302
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
303
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
304
+ GNU General Public License for more details.
305
+
306
+ You should have received a copy of the GNU General Public License along
307
+ with this program; if not, write to the Free Software Foundation, Inc.,
308
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
309
+
310
+ Also add information on how to contact you by electronic and paper mail.
311
+
312
+ If the program is interactive, make it output a short notice like this
313
+ when it starts in an interactive mode:
314
+
315
+ Gnomovision version 69, Copyright (C) year name of author
316
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
317
+ This is free software, and you are welcome to redistribute it
318
+ under certain conditions; type `show c' for details.
319
+
320
+ The hypothetical commands `show w' and `show c' should show the appropriate
321
+ parts of the General Public License. Of course, the commands you use may
322
+ be called something other than `show w' and `show c'; they could even be
323
+ mouse-clicks or menu items--whatever suits your program.
324
+
325
+ You should also get your employer (if you work as a programmer) or your
326
+ school, if any, to sign a "copyright disclaimer" for the program, if
327
+ necessary. Here is a sample; alter the names:
328
+
329
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
330
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
331
+
332
+ <signature of Ty Coon>, 1 April 1989
333
+ Ty Coon, President of Vice
334
+
335
+ This General Public License does not permit incorporating your program into
336
+ proprietary programs. If your program is a subroutine library, you may
337
+ consider it more useful to permit linking proprietary applications with the
338
+ library. If this is what you want to do, use the GNU Lesser General
339
  Public License instead of this License.
README.txt CHANGED
@@ -1,705 +1,711 @@
1
- === WP VR - 360 Panorama and Virtual Tour Builder For WordPress ===
2
- Contributors: rextheme, coderexco
3
- Tags: virtual tour, real estate tour, panorama, panorama viewer, virtual tour, 360 panorama, interactive tour, 360, Streetview, virtual reality, 360 video, virtual, vr, interactive, 360-degree, equirectangular, google streetview, panoramas
4
- Donate link: https://rextheme.com/wp-vr-360-panorama-and-virtual-tour-creator-for-wordpress/
5
- Requires at least: 5.0
6
- Tested up to: 5.9
7
- Requires PHP: 7.0.0
8
- Stable tag: 7.3.6
9
- License: GPLv2 or later
10
- License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
-
12
- Let site visitors take a virtual tour and get them excited!! Let them experience a glimpse of a live tour of your place.
13
-
14
- == Description ==
15
- Create amazing virtual tours on your own easily using WP VR. Let visitors take a tour of your place remotely, and keep them engaged.
16
-
17
- With WPVR, you can create a virtual tour, where your visitors can navigate through your place in a 360 panoramic view and get an overall idea on how it looks in reality.
18
-
19
- Simply upload a 360 panoramic image, and the plugin will transform it into a realistic virtual tour.
20
-
21
- >WPVR is compatible with Shortcodes, Elementor, Gutenberg, Visual Composer, & Oxygen builder.
22
-
23
- [Demo Virtual Tour (Pro)](https://rextheme.com/wpvr/#demo-tour) | [Documentation](https://rextheme.com/docs/wp-vr/) | [Premium Version](https://rextheme.com/wpvr/)
24
-
25
- == Why Use WPVR? ==
26
- WPVR gives you all the features needed to create a quality virtual tour without any hassle.
27
-
28
- https://www.youtube.com/watch?v=SWsv-bplne8
29
-
30
- **Simple & Easy To Use Virtual Tour Builder**
31
-
32
- WPVR has a simple interface, designed to create virtual tours real quickly, without any expertise.
33
-
34
- >In fact, you can create a simple virtual tour in less than 5 minutes!!
35
-
36
- On top of that, you can customize the tour further using auto-rotation effect, scene fade animation when transmitting between scenes, Gyroscope support on mobile devices, and many more, to make the tour more attractive.
37
-
38
- You may also use interactive hotspots to display information and keep your viewers engaged.
39
-
40
- The best part of this plugin is, you will get a live tour preview at the back-end so that you can see what you are creating on the go.
41
-
42
- Even if you're new to this, you will still be able to create virtual tours on your own, thanks to the actionable video tutorials and step-by-step instructions in our documentation.
43
-
44
- >Read detailed [documentation](https://rextheme.com/docs/wp-vr/) and [video tutorials](https://www.youtube.com/playlist?list=PLelDqLncNWcUndi1NkXJh2BH62OYmIayt) for assistance.
45
-
46
- **Create An Interactive Realistic Tour With Multiple Panoramic Images**
47
-
48
- You can add multiple 360-degree images in a virtual tour to create scenes, and connect them through scene type hotspots.
49
-
50
- Viewers can click on the hotspots to move back and forth between the scenes.
51
-
52
- > You can connect up to 5 scenes, and add 5 hotspots per scene on a virtual tour. To create tours with unlimited scenes and hotspots, [click here](https://rextheme.com/wpvr)
53
-
54
- **Interactive Hotspots To Create More Attraction**
55
-
56
- You can use engaging hotspots to view on-click or on-hover contents that include:
57
-
58
- *Texts
59
- *Images
60
- *GIFs
61
- *URLs
62
- *Videos
63
- *Buttons
64
-
65
- Also, you will get over 900+ custom icons for hotspots which you can further customize with color and ripple animation. A great way to grab your viewer's attention.
66
-
67
- >Contact our reliable [support team](https://rextheme.com/support/) to help you out anytime.
68
-
69
- **A Simple Tool For 360 Experience**
70
-
71
- Whether you run a travel blog, or sell properties as a realtor, a virtual tour will make your site more interactive. Even just viewing a simple scene with one 360 degree image will add extra value.
72
-
73
- And WPVR is currently the most reliable plugin to help you out with this. You may choose to use it as a simple 360 photo viewer, or create a high quality virtual tour with all the features without any complications.
74
-
75
- **A Functional 360 Video Viewer**
76
-
77
- When you have a 360 camera, you will be able to capture 360 degree apartment videos which is amazing.
78
-
79
- Once you embed the 360 degree videos on your site, your visitors can navigate within the video, while it plays.
80
-
81
- You may upload your 360 video content to Youtube, Vimeo, or your website, and then embed the video on any page within your site using WPVR.
82
-
83
- **Embed Virtual Tours In Just A Few Clicks**
84
-
85
- Once you create a tour, it’s really easy to embed it on your website.
86
-
87
- Whether you use Gutenberg Editor or Popular page builders, WPVR comes with dedicated blocks and widgets to save you time when embedding your tour on your site.
88
-
89
- | WPVR Gutenberg block | WPVR Elementor widget | Visual Composer Element | Oxygen Builder Element
90
-
91
- If you use any other page builder, you can still publish the tour by using a shortcode, which is generated after you publish the tour.
92
-
93
- **Use High Quality Images Without WordPress Restriction**
94
-
95
- A good quality 360 panorama usually comes with very high resolution that can easily go over 3000 x 1500 pixels.
96
-
97
- However, WordPress has the default large image handler which usually resizes images to below 2560 x 1280 pixels when you upload the image.
98
-
99
- WPVR comes with the option to disable this restriction so that you can easily upload panoramic images that can be more that 3000 pixels in width.
100
-
101
- **Mobile First VR Approach**
102
-
103
- WPVR is designed with a mobile-friendly output in mind and all the tours you make will be fully responsive and weightless for mobile devices.
104
-
105
- Simply enable the Auto-resize feature for mobile phones so that a lighter version of your panoramic images are generated. These are then used to view virtual tours on mobile devices.
106
-
107
- ==Who Should Use WP VR?==
108
-
109
- - Real Estate Industry (Virtual home tours).
110
- - Educational Institutes (Schools and colleges).
111
- - Hotels and Resorts.
112
- - Restaurants.
113
- - Travel/Tourism.
114
- - Museums.
115
- - Art Galleries & Exhibitions.
116
- - Car Showrooms.
117
- - Furniture Showrooms.
118
- - Clothing Stores.
119
- - Grocery Stores.
120
- - Bars/Pubs.
121
-
122
- And many more.
123
-
124
- To have more control over creating a virtual tour, learn about the [Premium version](https://rextheme.com/wpvr/).
125
-
126
- ==FREE FEATURES==
127
-
128
- * An unlimited number of virtual tours.
129
- * 360 Degree Video Support (Self-hosted, Youtube and Vimeo Videos).
130
- * Full-window Virtual Tours.
131
- * Shortcode Support.
132
- * Gutenberg Block Support.
133
- * Elementor Widget Support.
134
- * Oxygen Builder Support.
135
- * Live Preview of Tour On The Back-end.
136
- * Tour Preview Image.
137
- * Tour Autoload Feature.
138
- * Scene Fade Animation.
139
- * Auto Rotation with Speed Control.
140
- * Auto Rotation Direction, Pause, and Stop control.
141
- * Basic Control Buttons (Zoom In, Zoom Out, and Fullscreen).
142
- * Mouse Drag Control on Virtual Tour.
143
- * Zoom In and Out with Mouse Scroll on Virtual Tour.
144
- * Zoom In and Out with ‘+’ and ‘-’ keyboard buttons.
145
- * Add Multiple Scenes and Hotspots.
146
- * Scene Type Hotspot to Connect Scenes.
147
- * Info Type Hotspots to Give Information.
148
- * On Hover and On-Click Content Option for Hotspots.
149
- * Embed Texts, Videos, Images, GIFs, and Website Links on Hotspots.
150
- * Hotspot Customization with Custom CSS.
151
- * Full-width Tour Tag.
152
- * Radius Tag for tour border radius.
153
- * Multi-Site Support.
154
- * WP User Role Support (Editors and Authors).
155
- * Disable FontAwesome Option.
156
- * Disable WordPress Default Large Image Handler.
157
- * Control Plugin Assets To Load on Specific Pages/posts Only.
158
- * Enable Front-end notice for Mobile Visitors.
159
- * Mobile Media Resize Option.
160
- * Plugin Version Rollback Option.
161
- * Support From the Support Forum.
162
-
163
- ==PREMIUM FEATURES==
164
-
165
- * All Free Features.
166
- * Unlimited Scenes and Hotspots (Up to 5 in the Free Version).
167
- * 360 Video Autoplay and Loop.
168
- * Google Street View Embed Support.
169
- * Gyroscope Support for Mobile Devices.
170
- * Auto Enable Gyroscope on Mobile Devices.
171
- * Custom & Responsive Scene Gallery.
172
- * Scene Titles on Each Scene.
173
- * Scene Description (Author) & URL on Each Scene.
174
- * Scene Titles & Thumbnails on Scene Gallery.
175
- * Tour Background Music Support.
176
- * Background Music Autoplay, Loop, & Pause Control.
177
- * Set Your Company Logo on The Virtual Tour.
178
- * Set Company Description on The Logo.
179
- * Home Button to Go to The Default Scene.
180
- * On-Screen Compass for Tours.
181
- * Disable or Enable Keyboard Movement Control.
182
- * Disable or Enable Keyboard Zoom Control.
183
- * Global Zoom Settings for the entire Virtual Tour.
184
- * Disable or Enable Mouse Drag Control.
185
- * Disable or Enable Mouse Scroll Zoom.
186
- * Fluent Forms Integration on Hotspots.
187
- * Fill-up and Submit Booking/Contact Forms.
188
- * WooCommerce Product Integration on Hotspots.
189
- * Add To Cart Feature for WooCommerce Products on Hotspots.
190
- * Advanced Control Buttons (Move Up, Down, Left, & Right).
191
- * Customize Icons of Each Control Button (900+ Premium Icons).
192
- * Customize Colors of Each Control Button (RGB, HSL, & HEX).
193
- * Enable or Disable Each Control Button.
194
- * Custom Default Scene Face for Each Scene.
195
- * Default Scene Face For Target Scene.
196
- * Partial Panorama (Mobile Panorama) Support.
197
- * Scene Boundary Control (Horizontal & Vertical).
198
- * Set Vertical Offset of Each Scene.
199
- * Limit Vertical Scene Grab for Each Scene.
200
- * Limit Horizontal Scene Grab for Each Scene.
201
- * Control Max, Min, and Default Zoom for Each Scene.
202
- * Customize Each Hotspot Icon (900+ Premium Icons).
203
- * Color Picker for Hotspots (RGB, HSL, & HEX).
204
- * Tour Export and Import (For WP VR Only).
205
- * Duplicate Tours with One Click.
206
- * Priority Support.
207
-
208
- [Upgrade to Pro](https://rextheme.com/docs/wp-vr/how-to-upgrade-to-pro/)
209
-
210
- > We have many more amazing features planned. Take look at [our development roadmap.](https://app.productstash.io/roadmaps/5f0b43d9a54eda00221d5516/public)
211
-
212
- **Upcoming Features**
213
-
214
- - Floor Plan support.
215
- - VR Glass/Cardboard support.
216
- - Explainer Video option.
217
- - Contact Form/Booking Option Button.
218
- - Background Tour.
219
-
220
- ## Privacy Policy
221
- WP VR uses [Appsero](https://appsero.com) SDK to collect some telemetry data upon user's confirmation. This helps us to troubleshoot problems faster & make product improvements.
222
-
223
- Appsero SDK **does not gather any data by default.** The SDK only starts gathering basic telemetry data **when a user allows it via the admin notice**. We collect the data to ensure a great user experience for all our users.
224
-
225
- Integrating Appsero SDK **DOES NOT IMMEDIATELY** start gathering data, **without confirmation from users in any case.**
226
-
227
- Learn more how [Appsero collects and uses this data](https://appsero.com/privacy-policy/).
228
-
229
- == Frequently Asked Questions ==
230
-
231
- =1. Why Do I Need WP VR?=
232
-
233
- You can easily create a Virtual Tour of your place using WP VR to build a virtual presence of your business.
234
-
235
- Simply provide a 360 degree panoramic photo and this plugin will create a virtual tour that your visitors can navigate easily.
236
-
237
- Allow your prospects to have a realistic tour of your facility before they decide to purchase your service and increase your conversion rate.
238
-
239
- =2. How to Install and Activate WP VR?=
240
-
241
- Once you have downloaded the file, go to your dashboard. Under Plugins, select Add New, and upload the file. Then Install and activate the plugin.
242
-
243
- Once activated, on the left side under your dashboard, you will find the option WP VR at the bottom.
244
-
245
- =3. What Kind of Images Should I Use To Create A Virtual Tour?=
246
-
247
- To make a perfect equirectangular image, you need to use a 360-degree panoramic photo of the area you want to preview.
248
-
249
- However, you can also capture panorama images with your smartphone and use them to create a partial panorama tour.
250
-
251
- =5. Can I Customize The Hotspot Icons?=
252
-
253
- Yes. You can create a custom class on your theme, stating whatever style you want.
254
-
255
- Then you can input the class name on the Hotspot Custom Class section in a hotspot, and the content displayed will be customized according to the style you set.
256
-
257
- =6. Can I Create A 360 Degree Video Tour With WP VR?=
258
-
259
- Yes, with WP VR, you can create a 360 Degree video tour.
260
-
261
- You can either upload the video to create a tour or set a link to a Youtube/Vimeo 360 degree video.
262
-
263
- =7. How To Embed A Virtual Tour Using Gutenberg Block Editor?=
264
-
265
- Under common blocks, you will find a block called WP VR. Select the block and on the dynamic toolbar on the right, you will get the options to add ID, Height, and Width.
266
-
267
- Collect the ID from the virtual tour you created. Assign the height and width as you desire.
268
-
269
- =8. The Tour Is Not Loading On The Webpage.=
270
-
271
- Go to your WordPress Dashboard > WPVR > Get Started > Settings.
272
-
273
- Check the Enable Script Control option status.
274
-
275
- If the Enable Script Control option is turned On, turn it off and reload the tour page.
276
-
277
- If you wish to use this feature, you have to set the URLs of all the pages on your site with a virtual tour in the List of Allowed Pages To Load WPVR Scripts field.
278
-
279
- =9. What To Do If I Get “THE FILE (image link) COULD NOT BE ACCESSED” Error?=
280
-
281
- Sometimes when you add a tour on your site, you might face this issue that rather than loading the tour it will give the error “THE FILE (…) COULD NOT BE ACCESSED.”
282
-
283
- This error shows up when you are running a website under “HTTPS” (secured with SSL certificate) whereas your image link is under “HTTP” (unsecured).
284
-
285
- To solve this issue, go to your WordPress Dashboard > Settings > General. Here make sure you have “https” added to both “WordPress Address (URL)” and “Site Address (URL)”. That’s it. Your virtual tour will load with no issues.
286
-
287
- =10. Can I make The Virtual Tour Full-width?=
288
-
289
- Yes, you can publish the tours as full-width of your page/post.
290
-
291
- For Gutenberg, Elementor, and Oxygen builder, set fullwidth on the Width field. For shortcodes, set width = “fullwidth”.
292
-
293
- =11. What If I Use An Optimization or Caching Plugin?=
294
-
295
- If you use any Optimization or Caching plugins, then you need to exclude WP VR from its optimization function.
296
-
297
- Simply add “/plugins/wpvr” to the exclusion field (or use the location where you store plugins).
298
-
299
- =12. Can I Allow The Users of My Site To Create Virtual Tours?=
300
-
301
- You can only allow the backend users like Admins, Editors, and Authors of your site to create virtual tours.
302
-
303
- Admins & editors will have access to all virtual tours on the site to modify, update and delete them.
304
-
305
- Authors can access their own tours only and modify, update, or delete them.
306
-
307
- Admins can remove the access from Authors and Editors at any time.
308
-
309
- == Screenshots ==
310
- 1. Upload 360 Degree Image
311
- 2. Preview 360 Degree Image
312
- 3. Basic Settings of Virtual Tour
313
- 4. Preview Image on Virtual Tour
314
- 5. Preview Image Virtual Tour
315
- 6. Advanced Controls of Virtual Tour
316
- 7. Control Buttons of Virtual Tour
317
- 8. 360 Image Basic Settings
318
- 9. 360 Image Advanced Settings
319
- 10. Set Information on Hotspots
320
- 11. Connect 360 Degree Images on Hotspots
321
- 12. 360 Video Tour
322
-
323
-
324
- == Changelog ==
325
-
326
- = 7.3.6 (04-04-2022) =
327
- * New: Google Cardboard, Oculus Rift, HTC Vive, & GearVR Support for Video Tours.
328
- * New: Support for Multiple Tours Inside Elementor Tabs.
329
- * New: Custom Mobile Height for the Tours using WPVR Gutenberg Block.
330
- * New: Custom Mobile Height for the Tours using Shortcode.
331
- * Fix: Custom Preview Image Text not Working in Elementor Tabs.
332
- * Fix: PHP Warnings on Front-end.
333
- * Fix: PHP Warnings on Settings Page.
334
- * Fix: PHP Warnings on Hotspots Page.
335
-
336
-
337
- = 7.3.5 (27-01-2022) =
338
- * Update: Checked Compatibility with WordPress 5.9.
339
- * Update: Checked Compatibility with WooCommerce 6.1.1.
340
- * Update: Checked Compatibility with Gutenberg 12.4.1.
341
- * Update: Checked Compatibility with Elementor 3.5.4.
342
- * Update: Checked Compatibility with Visual Composer 42.1.
343
- * Update: Checked Compatibility with Fluent Forms 4.3.0.
344
- * Update: Rollback version updated to 7.3.4.
345
- * New: Disable On-hover content for mobile devices.
346
- * New: Open URL in the same tab from hotspots.
347
- * Fix: Height field doesn't work for YouTube videos - WPVR Elementor widget.
348
- * Fix: Width and Height fields don't work for YouTube video tours - WPVR Gutenberg block.
349
-
350
- = 7.3.3 (16-09-2021) =
351
- * Update: Checked Compatibility with WordPress 5.8.1.
352
- * Update: Checked Compatibility with PHP 8.0.
353
- * Update: Rollback Versions Updated to 7.3.2.
354
- * Fix: PHP Error Notices.
355
- * New: Full-window Virtual Tour Support.
356
- * New: Control video.js loading on specific pages.
357
-
358
-
359
- = 7.3.2 (04-08-2021) =
360
- * Fix: PHP Error Notices.
361
-
362
- = 7.3.1 (27-07-2021) =
363
- * Update: Checked Compatibility with WordPress 5.8.
364
- * Fix: PHP Error Notice.
365
- * Tweak: Dual Action Warning for Auto-Rotation redesigned & updated.
366
- * Tweak: Invalid Pitch Value Warning redesigned & updated.
367
- * Tweak: Invalid Yaw Value Warning redesigned & updated.
368
- * Tweak: Invalid Default Zoom Value Warnings redesigned & updated.
369
- * Tweak: Invalid Max-zoom Value Warning redesigned & updated.
370
- * Tweak: Max-zoom Value Exceeded Warning redesigned & updated.
371
- * Tweak: Invalid Min-zoom Value Warning redesigned & updated.
372
- * Tweak: Low Min-zoom Value Warning redesigned & updated.
373
-
374
-
375
- = 7.3.0 (18-06-2021) =
376
- * Tweak: WP VR logo & Text Aligned on Dashboard.
377
- * Tweak: Scene Image Missing Notice redesigned & updated.
378
- * Tweak: Scene ID Missing Notice redesigned & updated.
379
- * Tweak: Invalid Scene ID Notice redesigned & updated.
380
- * Tweak: Duplicate Scene ID Notice redesigned & updated.
381
- * Tweak: Default Scene Change Notice redesigned & updated.
382
- * Tweak: Scene Deletion Notice redesigned & updated.
383
- * Tweak: Scene Limit Reached Notice redesigned & updated.
384
- * Tweak: Invalid Hotspot ID Notice redesigned & updated.
385
- * Tweak: Duplicate Hotspot ID Notice redesigned & updated.
386
- * Tweak: On-click Content + URL Dual Input Notice redesigned & updated.
387
- * Tweak: Custom Icon + Custom Icon Class Dual Input Notice redesigned & updated.
388
- * Tweak: Target Scene Missing Notice redesigned & updated.
389
- * Tweak: Hotspot Limit Reached Notice redesigned & updated.
390
- * Tweak: Hotspot Deletion Notice redesigned & updated.
391
- * Fix: Autoplay bug for 360-degree videos.
392
-
393
- = 7.2.9 (25-05-2021) =
394
- * New: Warning message added for Street View tab.
395
- * Tweak: Rollback versions updated.
396
-
397
- = 7.2.8 (06-05-2021) =
398
- * Fix: PHP Warnings on Backend & Frontend
399
- * Fix: Audio Issue for self-hosted videos on hotspots
400
-
401
- = 7.2.7 (12-04-2021) =
402
- * Tweak: Rollback versions updated.
403
- * Tweak: Video tab warning pop-up redesigned.
404
- * New: Preview Image Text is made dynamic.
405
- * New: On the Hotspots tab, the active Scene ID will be mentioned.
406
- * Fix: Elementor Widget Issue.
407
- * Fix: Preview Image Text font mismatch.
408
-
409
- = 7.2.6 (22-03-2021) =
410
- * Tweak: Rollback versions updated
411
- * Fix: Dummy notice removed
412
- * Fix: AppSero Updater Error
413
-
414
- = 7.2.5 (11-03-2021) =
415
- * Update: Checked compatibility with WordPress 5.7
416
- * New: Visual Composer element support
417
- * Fix: PHP warnings on the dashboard
418
-
419
- = 7.2.4 (24-02-2021) =
420
- * Tweak: Made the Enable Script Control option conditional
421
- * Tweak: Added pop-up warning when switching to a video tour
422
- * Fix: Style conflict issue with Phlox Pro theme
423
- * Fix: Tour ID Dropdown responsiveness issue for WP VR Elementor Widget
424
- * Fix: Icons of deleted scenes showing up
425
-
426
- = 7.2.3 (09-02-2021) =
427
- * Tweak: Removed Export tab alert
428
- * Fix: PHP warnings on the activation
429
-
430
- = 7.2.2 (21-12-2020) =
431
- * Tweak: Removed dummy functions
432
- * Fix: Browser JS conflict
433
-
434
- = 7.2.1 (17-12-2020) =
435
- * New: Warning message added for video tours
436
- * Fix: VR audio JS error
437
- * Fix: Tab and accordion issue
438
- * Tweak: Modified rollback options
439
-
440
- = 7.2.0 (09-12-2020) =
441
- * Update: Checked compatibility with WordPress 5.6
442
- * Fix: VR audio conflict
443
-
444
- = 7.1.0 (19-11-2020) =
445
- * Tweak: Modified Black Friday banner
446
-
447
- = 7.0.0 (19-11-2020) =
448
- * New: Added Black Friday banner
449
-
450
- = 6.9.0 (16-11-2020) =
451
- * New: Accordion support for Elementor
452
- * Fix: Iframe conflict
453
- * Fix: Control button overlap issue
454
-
455
- = 6.8.0 (22-10-2020) =
456
- * New: Display Scene Gallery by default
457
-
458
- = 6.7.0 (18-09-2020) =
459
- * Tweak: Modified Import/Export
460
- * Tweak: Added switch for Mobile Media Resizer
461
- * Fix: Conflict with OceanWP Theme
462
-
463
- = 6.6.0 (09-09-2020) =
464
- * Tweak: Modified Scene Gallery preview
465
- * Tweak: Modified Mobile Media Resizer
466
- * Fix: Video tab bug
467
- * Fix: Error handled for allow open URL
468
-
469
- = 6.5.0 (31-08-2020) =
470
- * Update: Updated Appsero version
471
- * Fix: Empty needle warning
472
-
473
- = 6.4.0 (19-08-2020) =
474
- * Fix: Media Resizer fixed
475
-
476
- = 6.3.0 (14-08-2020) =
477
- * Update: Checked compatibility with WordPress 5.5
478
- * New: Mobile Media Resizer option added
479
- * Fix: Google Street View responsive issue
480
-
481
- = 6.2.0 (07-08-2020) =
482
- * New: Oxygen Builder Element support added
483
- * New: Multi-site support added
484
- * New: Dynamic Front-end Notice option added
485
-
486
- = 6.1.0 (31-7-2020) =
487
- * Fix: Style issue for On-click content
488
-
489
- = 6.0.0 (28-7-2020) =
490
- * Fix: Safari browser issues
491
- * Fix: JS error for optimization
492
-
493
- = 5.9.0 (27-7-2020) =
494
- * Fix: Export/Import SSL error
495
- * Fix: JS errors
496
-
497
- = 5.8.0 (25-7-2020) =
498
- * New: Submit restriction to control gyro for SSL
499
- * New: Add-on compatibility added
500
- * New: Mobile notice added
501
- * Tweak: License input type changed to password
502
- * Fix: On-click content container responsive issue
503
-
504
- = 5.7.0 (20-7-2020) =
505
- * Update: User Interface updated
506
- * New: Rollback feature added
507
- * Tweak: Gallery image size changed to thumbnail
508
- * Tweak: Gallery Scene IDs replaced with Scene Titles
509
- * Fix: Youtube 360 video autoplay issue
510
- * Fix: Company logo style issue
511
- * Fix: Saving draft issue
512
-
513
- = 5.6.0 (15-06-2020) =
514
- * New: Tour Background Music support added
515
-
516
- = 5.5.0 (12-05-2020) =
517
- * Tweak: Self-hosted videos pause on closing window
518
- * Fix: Custom control button conflict
519
- * Fix: On-click content container issue
520
-
521
- = 5.4.0 (27-04-2020) =
522
- * Fix: Device Orientation control issue
523
-
524
- = 5.3.0 (16-04-2020) =
525
- * New: Keyboard zoom control added
526
- * Tweak: Style modified for Company Logo
527
-
528
- = 5.2.0 (02-04-2020) =
529
- * New: Author URL field added
530
-
531
- = 5.1.0 (26-03-2020) =
532
- * New: Auto device based gyro option added
533
-
534
- = 5.0.0 =
535
- * New: Home button added for returning to the default scene
536
-
537
- = 4.9.0 =
538
- * New: Scene title field added for Scene Gallery
539
-
540
- = 4.8.0 =
541
- * Tweak: Script & Style files control modified
542
-
543
- = 4.7.0 =
544
- * New: High-resolution image upload option added
545
- * Fix: Gyroscope conflict with default controls
546
- * Fix: Input type error
547
-
548
- = 4.6.0 =
549
- * Fix: Gyroscope support issue for custom controls
550
-
551
- = 4.5.0 =
552
- * Update: Library updated
553
- * Fix: Default icon issue on android smartphones
554
-
555
- = 4.4.0 =
556
- * New: Option to Control plugin scripts and styles to load them on specific pages only
557
- * Fix: Draggable error fix
558
-
559
- = 4.3.0 =
560
- * New: Added option to enable/disable Draggable feature
561
- * Tweak: Settings titles capitalized
562
-
563
- = 4.2.0 =
564
- * New: Added option to enable/disable Keyboard Controls
565
- * Fix: Font-Awesome conflict
566
-
567
- = 4.1.0 =
568
- * New: Autoplay and Loop options added for 360-degree videos
569
- * New: Mouse scroll support added
570
-
571
- = 4.0.0 =
572
- * New: Option to control User Roles for the plugin
573
-
574
- = 3.9.0 =
575
- * Fix: Gallery toggle issue
576
-
577
- = 3.8.0 =
578
- * Tweak: Loading box design changed
579
-
580
- = 3.7.0 =
581
- * New: Partial Panorama support
582
-
583
- = 3.6.0 =
584
- * Update: JS optimization removed
585
-
586
- = 3.5.0 =
587
- * Fix: Front-end errors
588
-
589
- = 3.4.9 =
590
- * Tweak: JS & CSS loading optimized
591
-
592
- = 3.4.8 =
593
- * Tweak: Optimized the backend preview loading
594
-
595
- = 3.4.7 =
596
- * Google street view embed
597
-
598
- = 3.4.6 =
599
- * Custom control feature
600
- * WordPress 5.3 bug fix
601
-
602
- = 3.4.5 =
603
- * WordPress.com hosting support fixed
604
-
605
- = 3.4.4 =
606
- * Rotation fix on default scene face
607
- * Rotation fix on hotspots to target scene face
608
- * Plugin library update
609
-
610
- = 3.4.3 =
611
- * Autorotation error fix
612
- * Ziparchive class error fix
613
-
614
- = 3.4.2 =
615
- * Gallery carousel design fix
616
- * CSS and js restricted
617
-
618
- = 3.4.1 =
619
- * Gallery carousal fix
620
-
621
- = 3.4.0 =
622
- * Repeater delete confirmation fix.
623
-
624
- = 3.3.0 =
625
- * Placeholder change.
626
-
627
- = 3.2.0 =
628
- * Custom scene gallery conflict and a bug fix for iPhone and iPad.
629
-
630
- = 3.1.0 =
631
- * Custom scene gallery.
632
- * Border radius tag added.
633
- * Modified preview window.
634
-
635
- = 3.0.0 =
636
- * File import & export system added.
637
- * Fullwidth tag added.
638
- * Placeholder color changed.
639
-
640
- = 2.9.0 =
641
- * Tour selector updated on VR block.
642
-
643
- = 2.8.0 =
644
- * Dynamic error reporting added.
645
-
646
- = 2.7.0 =
647
- * Post memory limit fix.
648
-
649
- = 2.6.0 =
650
- * Duplicate tour.
651
- * Blink animation automated.
652
- * Language issue fixed.
653
-
654
- = 2.5.0 =
655
- * Gyroscope support on the premium version.
656
- * Appsero error fix.
657
- * Gutenberg block column layout fix.
658
-
659
- = 2.4.0 =
660
- * Font-awesome icon load fix.
661
- * Plugin conflict fix.
662
- * Rextheme link removed from premium version.
663
-
664
- = 2.3.0 =
665
- * Elementor widget support for free.
666
- * Mozilla Firefox bug fix.
667
- * CDN load fix.
668
- * Block input dropdown added.
669
- * Hotspot based scene face added.
670
-
671
- = 2.2.0 =
672
- * Scene title and author tag support.
673
- * Elementor widget support.
674
-
675
- = 2.1.1 =
676
- * Dynamic Font-Awesome icon added for hotspots.
677
- * Dynamic color picker added for hotspot color.
678
- * Custom panorama compass support.
679
- * Default zoom level.
680
- * Maximum and minimum zoom range.
681
- * Customize each scene’s default face on load.
682
- * Scene grab control and custom boundary for each scene.
683
-
684
- = 2.1.0 =
685
- * Save draft fixed.
686
- * Error handling fixed.
687
- * Video support added.
688
- * Slider revolution conflict fix.
689
- * Auto rotation
690
- * Rotation pause and stop control
691
-
692
- = 2.0.0 =
693
- * Gutenberg block support
694
- * Bug fix.
695
-
696
- = 1.0.1 =
697
- * Default scene can be selected from the scene tab.
698
- * Default height and width are given for shortcodes.
699
-
700
- = 1.0 =
701
- * Hotspot custom icon support.
702
- * On screen control available.
703
-
704
- == Upgrade Notice ==
 
 
 
 
 
 
705
  Please do update the WP VR to the latest version. Each update makes sure your plugin is supporting all tour features.
1
+ === WP VR - 360 Panorama and Virtual Tour Builder For WordPress ===
2
+ Contributors: rextheme, coderexco
3
+ Tags: virtual tour, real estate tour, panorama, panorama viewer, virtual tour, 360 panorama, interactive tour, 360, Streetview, virtual reality, 360 video, virtual, vr, interactive, 360-degree, equirectangular, google streetview, panoramas
4
+ Donate link: https://rextheme.com/wp-vr-360-panorama-and-virtual-tour-creator-for-wordpress/
5
+ Requires at least: 5.0
6
+ Tested up to: 5.9
7
+ Requires PHP: 7.0.0
8
+ Stable tag: 7.3.7
9
+ License: GPLv2 or later
10
+ License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
+
12
+ Let site visitors take a virtual tour and get them excited!! Let them experience a glimpse of a live tour of your place.
13
+
14
+ == Description ==
15
+ Create amazing virtual tours on your own easily using WP VR. Let visitors take a tour of your place remotely, and keep them engaged.
16
+
17
+ With WPVR, you can create a virtual tour, where your visitors can navigate through your place in a 360 panoramic view and get an overall idea on how it looks in reality.
18
+
19
+ Simply upload a 360 panoramic image, and the plugin will transform it into a realistic virtual tour.
20
+
21
+ >WPVR is compatible with Shortcodes, Elementor, Gutenberg, Visual Composer, & Oxygen builder.
22
+
23
+ [Demo Virtual Tour (Pro)](https://rextheme.com/wpvr/#demo-tour) | [Documentation](https://rextheme.com/docs/wp-vr/) | [Premium Version](https://rextheme.com/wpvr/)
24
+
25
+ == Why Use WPVR? ==
26
+ WPVR gives you all the features needed to create a quality virtual tour without any hassle.
27
+
28
+ https://www.youtube.com/watch?v=SWsv-bplne8
29
+
30
+ **Simple & Easy To Use Virtual Tour Builder**
31
+
32
+ WPVR has a simple interface, designed to create virtual tours real quickly, without any expertise.
33
+
34
+ >In fact, you can create a simple virtual tour in less than 5 minutes!!
35
+
36
+ On top of that, you can customize the tour further using auto-rotation effect, scene fade animation when transmitting between scenes, Gyroscope support on mobile devices, and many more, to make the tour more attractive.
37
+
38
+ You may also use interactive hotspots to display information and keep your viewers engaged.
39
+
40
+ The best part of this plugin is, you will get a live tour preview at the back-end so that you can see what you are creating on the go.
41
+
42
+ Even if you're new to this, you will still be able to create virtual tours on your own, thanks to the actionable video tutorials and step-by-step instructions in our documentation.
43
+
44
+ >Read detailed [documentation](https://rextheme.com/docs/wp-vr/) and [video tutorials](https://www.youtube.com/playlist?list=PLelDqLncNWcUndi1NkXJh2BH62OYmIayt) for assistance.
45
+
46
+ **Create An Interactive Realistic Tour With Multiple Panoramic Images**
47
+
48
+ You can add multiple 360-degree images in a virtual tour to create scenes, and connect them through scene type hotspots.
49
+
50
+ Viewers can click on the hotspots to move back and forth between the scenes.
51
+
52
+ > You can connect up to 5 scenes, and add 5 hotspots per scene on a virtual tour. To create tours with unlimited scenes and hotspots, [click here](https://rextheme.com/wpvr)
53
+
54
+ **Interactive Hotspots To Create More Attraction**
55
+
56
+ You can use engaging hotspots to view on-click or on-hover contents that include:
57
+
58
+ *Texts
59
+ *Images
60
+ *GIFs
61
+ *URLs
62
+ *Videos
63
+ *Buttons
64
+
65
+ Also, you will get over 900+ custom icons for hotspots which you can further customize with color and ripple animation. A great way to grab your viewer's attention.
66
+
67
+ >Contact our reliable [support team](https://rextheme.com/support/) to help you out anytime.
68
+
69
+ **A Simple Tool For 360 Experience**
70
+
71
+ Whether you run a travel blog, or sell properties as a realtor, a virtual tour will make your site more interactive. Even just viewing a simple scene with one 360 degree image will add extra value.
72
+
73
+ And WPVR is currently the most reliable plugin to help you out with this. You may choose to use it as a simple 360 photo viewer, or create a high quality virtual tour with all the features without any complications.
74
+
75
+ **A Functional 360 Video Viewer**
76
+
77
+ When you have a 360 camera, you will be able to capture 360 degree apartment videos which is amazing.
78
+
79
+ Once you embed the 360 degree videos on your site, your visitors can navigate within the video, while it plays.
80
+
81
+ You may upload your 360 video content to Youtube, Vimeo, or your website, and then embed the video on any page within your site using WPVR.
82
+
83
+ **Embed Virtual Tours In Just A Few Clicks**
84
+
85
+ Once you create a tour, it’s really easy to embed it on your website.
86
+
87
+ Whether you use Gutenberg Editor or Popular page builders, WPVR comes with dedicated blocks and widgets to save you time when embedding your tour on your site.
88
+
89
+ | WPVR Gutenberg block | WPVR Elementor widget | Visual Composer Element | Oxygen Builder Element
90
+
91
+ If you use any other page builder, you can still publish the tour by using a shortcode, which is generated after you publish the tour.
92
+
93
+ **Use High Quality Images Without WordPress Restriction**
94
+
95
+ A good quality 360 panorama usually comes with very high resolution that can easily go over 3000 x 1500 pixels.
96
+
97
+ However, WordPress has the default large image handler which usually resizes images to below 2560 x 1280 pixels when you upload the image.
98
+
99
+ WPVR comes with the option to disable this restriction so that you can easily upload panoramic images that can be more that 3000 pixels in width.
100
+
101
+ **Mobile First VR Approach**
102
+
103
+ WPVR is designed with a mobile-friendly output in mind and all the tours you make will be fully responsive and weightless for mobile devices.
104
+
105
+ Simply enable the Auto-resize feature for mobile phones so that a lighter version of your panoramic images are generated. These are then used to view virtual tours on mobile devices.
106
+
107
+ ==Who Should Use WP VR?==
108
+
109
+ - Real Estate Industry (Virtual home tours).
110
+ - Educational Institutes (Schools and colleges).
111
+ - Hotels and Resorts.
112
+ - Restaurants.
113
+ - Travel/Tourism.
114
+ - Museums.
115
+ - Art Galleries & Exhibitions.
116
+ - Car Showrooms.
117
+ - Furniture Showrooms.
118
+ - Clothing Stores.
119
+ - Grocery Stores.
120
+ - Bars/Pubs.
121
+
122
+ And many more.
123
+
124
+ To have more control over creating a virtual tour, learn about the [Premium version](https://rextheme.com/wpvr/).
125
+
126
+ ==FREE FEATURES==
127
+
128
+ * An unlimited number of virtual tours.
129
+ * 360 Degree Video Support (Self-hosted, Youtube and Vimeo Videos).
130
+ * Full-window Virtual Tours.
131
+ * Shortcode Support.
132
+ * Gutenberg Block Support.
133
+ * Elementor Widget Support.
134
+ * Oxygen Builder Support.
135
+ * Live Preview of Tour On The Back-end.
136
+ * Tour Preview Image.
137
+ * Tour Autoload Feature.
138
+ * Scene Fade Animation.
139
+ * Auto Rotation with Speed Control.
140
+ * Auto Rotation Direction, Pause, and Stop control.
141
+ * Basic Control Buttons (Zoom In, Zoom Out, and Fullscreen).
142
+ * Mouse Drag Control on Virtual Tour.
143
+ * Zoom In and Out with Mouse Scroll on Virtual Tour.
144
+ * Zoom In and Out with ‘+’ and ‘-’ keyboard buttons.
145
+ * Add Multiple Scenes and Hotspots.
146
+ * Scene Type Hotspot to Connect Scenes.
147
+ * Info Type Hotspots to Give Information.
148
+ * On Hover and On-Click Content Option for Hotspots.
149
+ * Embed Texts, Videos, Images, GIFs, and Website Links on Hotspots.
150
+ * Hotspot Customization with Custom CSS.
151
+ * Full-width Tour Tag.
152
+ * Radius Tag for tour border radius.
153
+ * Multi-Site Support.
154
+ * WP User Role Support (Editors and Authors).
155
+ * Disable FontAwesome Option.
156
+ * Disable WordPress Default Large Image Handler.
157
+ * Control Plugin Assets To Load on Specific Pages/posts Only.
158
+ * Enable Front-end notice for Mobile Visitors.
159
+ * Mobile Media Resize Option.
160
+ * Plugin Version Rollback Option.
161
+ * Support From the Support Forum.
162
+
163
+ ==PREMIUM FEATURES==
164
+
165
+ * All Free Features.
166
+ * Unlimited Scenes and Hotspots (Up to 5 in the Free Version).
167
+ * 360 Video Autoplay and Loop.
168
+ * Google Street View Embed Support.
169
+ * Gyroscope Support for Mobile Devices.
170
+ * Auto Enable Gyroscope on Mobile Devices.
171
+ * Custom & Responsive Scene Gallery.
172
+ * Scene Titles on Each Scene.
173
+ * Scene Description (Author) & URL on Each Scene.
174
+ * Scene Titles & Thumbnails on Scene Gallery.
175
+ * Tour Background Music Support.
176
+ * Background Music Autoplay, Loop, & Pause Control.
177
+ * Set Your Company Logo on The Virtual Tour.
178
+ * Set Company Description on The Logo.
179
+ * Home Button to Go to The Default Scene.
180
+ * On-Screen Compass for Tours.
181
+ * Disable or Enable Keyboard Movement Control.
182
+ * Disable or Enable Keyboard Zoom Control.
183
+ * Global Zoom Settings for the entire Virtual Tour.
184
+ * Disable or Enable Mouse Drag Control.
185
+ * Disable or Enable Mouse Scroll Zoom.
186
+ * Fluent Forms Integration on Hotspots.
187
+ * Fill-up and Submit Booking/Contact Forms.
188
+ * WooCommerce Product Integration on Hotspots.
189
+ * Add To Cart Feature for WooCommerce Products on Hotspots.
190
+ * Advanced Control Buttons (Move Up, Down, Left, & Right).
191
+ * Customize Icons of Each Control Button (900+ Premium Icons).
192
+ * Customize Colors of Each Control Button (RGB, HSL, & HEX).
193
+ * Enable or Disable Each Control Button.
194
+ * Custom Default Scene Face for Each Scene.
195
+ * Default Scene Face For Target Scene.
196
+ * Partial Panorama (Mobile Panorama) Support.
197
+ * Scene Boundary Control (Horizontal & Vertical).
198
+ * Set Vertical Offset of Each Scene.
199
+ * Limit Vertical Scene Grab for Each Scene.
200
+ * Limit Horizontal Scene Grab for Each Scene.
201
+ * Control Max, Min, and Default Zoom for Each Scene.
202
+ * Customize Each Hotspot Icon (900+ Premium Icons).
203
+ * Color Picker for Hotspots (RGB, HSL, & HEX).
204
+ * Tour Export and Import (For WP VR Only).
205
+ * Duplicate Tours with One Click.
206
+ * Priority Support.
207
+
208
+ [Upgrade to Pro](https://rextheme.com/docs/wp-vr/how-to-upgrade-to-pro/)
209
+
210
+ > We have many more amazing features planned. Take look at [our development roadmap.](https://app.productstash.io/roadmaps/5f0b43d9a54eda00221d5516/public)
211
+
212
+ **Upcoming Features**
213
+
214
+ - Floor Plan support.
215
+ - VR Glass/Cardboard support.
216
+ - Explainer Video option.
217
+ - Contact Form/Booking Option Button.
218
+ - Background Tour.
219
+
220
+ ## Privacy Policy
221
+ WP VR uses [Appsero](https://appsero.com) SDK to collect some telemetry data upon user's confirmation. This helps us to troubleshoot problems faster & make product improvements.
222
+
223
+ Appsero SDK **does not gather any data by default.** The SDK only starts gathering basic telemetry data **when a user allows it via the admin notice**. We collect the data to ensure a great user experience for all our users.
224
+
225
+ Integrating Appsero SDK **DOES NOT IMMEDIATELY** start gathering data, **without confirmation from users in any case.**
226
+
227
+ Learn more how [Appsero collects and uses this data](https://appsero.com/privacy-policy/).
228
+
229
+ == Frequently Asked Questions ==
230
+
231
+ =1. Why Do I Need WP VR?=
232
+
233
+ You can easily create a Virtual Tour of your place using WP VR to build a virtual presence of your business.
234
+
235
+ Simply provide a 360 degree panoramic photo and this plugin will create a virtual tour that your visitors can navigate easily.
236
+
237
+ Allow your prospects to have a realistic tour of your facility before they decide to purchase your service and increase your conversion rate.
238
+
239
+ =2. How to Install and Activate WP VR?=
240
+
241
+ Once you have downloaded the file, go to your dashboard. Under Plugins, select Add New, and upload the file. Then Install and activate the plugin.
242
+
243
+ Once activated, on the left side under your dashboard, you will find the option WP VR at the bottom.
244
+
245
+ =3. What Kind of Images Should I Use To Create A Virtual Tour?=
246
+
247
+ To make a perfect equirectangular image, you need to use a 360-degree panoramic photo of the area you want to preview.
248
+
249
+ However, you can also capture panorama images with your smartphone and use them to create a partial panorama tour.
250
+
251
+ =5. Can I Customize The Hotspot Icons?=
252
+
253
+ Yes. You can create a custom class on your theme, stating whatever style you want.
254
+
255
+ Then you can input the class name on the Hotspot Custom Class section in a hotspot, and the content displayed will be customized according to the style you set.
256
+
257
+ =6. Can I Create A 360 Degree Video Tour With WP VR?=
258
+
259
+ Yes, with WP VR, you can create a 360 Degree video tour.
260
+
261
+ You can either upload the video to create a tour or set a link to a Youtube/Vimeo 360 degree video.
262
+
263
+ =7. How To Embed A Virtual Tour Using Gutenberg Block Editor?=
264
+
265
+ Under common blocks, you will find a block called WP VR. Select the block and on the dynamic toolbar on the right, you will get the options to add ID, Height, and Width.
266
+
267
+ Collect the ID from the virtual tour you created. Assign the height and width as you desire.
268
+
269
+ =8. The Tour Is Not Loading On The Webpage.=
270
+
271
+ Go to your WordPress Dashboard > WPVR > Get Started > Settings.
272
+
273
+ Check the Enable Script Control option status.
274
+
275
+ If the Enable Script Control option is turned On, turn it off and reload the tour page.
276
+
277
+ If you wish to use this feature, you have to set the URLs of all the pages on your site with a virtual tour in the List of Allowed Pages To Load WPVR Scripts field.
278
+
279
+ =9. What To Do If I Get “THE FILE (image link) COULD NOT BE ACCESSED” Error?=
280
+
281
+ Sometimes when you add a tour on your site, you might face this issue that rather than loading the tour it will give the error “THE FILE (…) COULD NOT BE ACCESSED.”
282
+
283
+ This error shows up when you are running a website under “HTTPS” (secured with SSL certificate) whereas your image link is under “HTTP” (unsecured).
284
+
285
+ To solve this issue, go to your WordPress Dashboard > Settings > General. Here make sure you have “https” added to both “WordPress Address (URL)” and “Site Address (URL)”. That’s it. Your virtual tour will load with no issues.
286
+
287
+ =10. Can I make The Virtual Tour Full-width?=
288
+
289
+ Yes, you can publish the tours as full-width of your page/post.
290
+
291
+ For Gutenberg, Elementor, and Oxygen builder, set fullwidth on the Width field. For shortcodes, set width = “fullwidth”.
292
+
293
+ =11. What If I Use An Optimization or Caching Plugin?=
294
+
295
+ If you use any Optimization or Caching plugins, then you need to exclude WP VR from its optimization function.
296
+
297
+ Simply add “/plugins/wpvr” to the exclusion field (or use the location where you store plugins).
298
+
299
+ =12. Can I Allow The Users of My Site To Create Virtual Tours?=
300
+
301
+ You can only allow the backend users like Admins, Editors, and Authors of your site to create virtual tours.
302
+
303
+ Admins & editors will have access to all virtual tours on the site to modify, update and delete them.
304
+
305
+ Authors can access their own tours only and modify, update, or delete them.
306
+
307
+ Admins can remove the access from Authors and Editors at any time.
308
+
309
+ == Screenshots ==
310
+ 1. Upload 360 Degree Image
311
+ 2. Preview 360 Degree Image
312
+ 3. Basic Settings of Virtual Tour
313
+ 4. Preview Image on Virtual Tour
314
+ 5. Preview Image Virtual Tour
315
+ 6. Advanced Controls of Virtual Tour
316
+ 7. Control Buttons of Virtual Tour
317
+ 8. 360 Image Basic Settings
318
+ 9. 360 Image Advanced Settings
319
+ 10. Set Information on Hotspots
320
+ 11. Connect 360 Degree Images on Hotspots
321
+ 12. 360 Video Tour
322
+
323
+
324
+ == Changelog ==
325
+
326
+ = 7.3.7 (19-05-2022) =
327
+ * Fix: ZenCDN Removed.
328
+ * Fix: Conflict between On-click Content & URL fields
329
+ * Fix: Reset inserted data when Hotspot Type is changed (Info, Scene).
330
+ * Tweak: Better loading logic while Previewing Tour on General, Scenes, & Hotspots tabs.
331
+ * Tweak: Better loading logic for Getting Started & Settings pages
332
+
333
+ = 7.3.6 (04-04-2022) =
334
+ * New: Google Cardboard, Oculus Rift, HTC Vive, & GearVR Support for Video Tours.
335
+ * New: Support for Multiple Tours Inside Elementor Tabs.
336
+ * New: Custom Mobile Height for the Tours using WPVR Gutenberg Block.
337
+ * New: Custom Mobile Height for the Tours using Shortcode.
338
+ * Fix: Custom Preview Image Text not Working in Elementor Tabs.
339
+ * Fix: PHP Warnings on Front-end.
340
+ * Fix: PHP Warnings on Settings Page.
341
+ * Fix: PHP Warnings on Hotspots Page.
342
+
343
+ = 7.3.5 (27-01-2022) =
344
+ * Update: Checked Compatibility with WordPress 5.9.
345
+ * Update: Checked Compatibility with WooCommerce 6.1.1.
346
+ * Update: Checked Compatibility with Gutenberg 12.4.1.
347
+ * Update: Checked Compatibility with Elementor 3.5.4.
348
+ * Update: Checked Compatibility with Visual Composer 42.1.
349
+ * Update: Checked Compatibility with Fluent Forms 4.3.0.
350
+ * Update: Rollback version updated to 7.3.4.
351
+ * New: Disable On-hover content for mobile devices.
352
+ * New: Open URL in the same tab from hotspots.
353
+ * Fix: Height field doesn't work for YouTube videos - WPVR Elementor widget.
354
+ * Fix: Width and Height fields don't work for YouTube video tours - WPVR Gutenberg block.
355
+
356
+ = 7.3.3 (16-09-2021) =
357
+ * Update: Checked Compatibility with WordPress 5.8.1.
358
+ * Update: Checked Compatibility with PHP 8.0.
359
+ * Update: Rollback Versions Updated to 7.3.2.
360
+ * Fix: PHP Error Notices.
361
+ * New: Full-window Virtual Tour Support.
362
+ * New: Control video.js loading on specific pages.
363
+
364
+
365
+ = 7.3.2 (04-08-2021) =
366
+ * Fix: PHP Error Notices.
367
+
368
+ = 7.3.1 (27-07-2021) =
369
+ * Update: Checked Compatibility with WordPress 5.8.
370
+ * Fix: PHP Error Notice.
371
+ * Tweak: Dual Action Warning for Auto-Rotation redesigned & updated.
372
+ * Tweak: Invalid Pitch Value Warning redesigned & updated.
373
+ * Tweak: Invalid Yaw Value Warning redesigned & updated.
374
+ * Tweak: Invalid Default Zoom Value Warnings redesigned & updated.
375
+ * Tweak: Invalid Max-zoom Value Warning redesigned & updated.
376
+ * Tweak: Max-zoom Value Exceeded Warning redesigned & updated.
377
+ * Tweak: Invalid Min-zoom Value Warning redesigned & updated.
378
+ * Tweak: Low Min-zoom Value Warning redesigned & updated.
379
+
380
+
381
+ = 7.3.0 (18-06-2021) =
382
+ * Tweak: WP VR logo & Text Aligned on Dashboard.
383
+ * Tweak: Scene Image Missing Notice redesigned & updated.
384
+ * Tweak: Scene ID Missing Notice redesigned & updated.
385
+ * Tweak: Invalid Scene ID Notice redesigned & updated.
386
+ * Tweak: Duplicate Scene ID Notice redesigned & updated.
387
+ * Tweak: Default Scene Change Notice redesigned & updated.
388
+ * Tweak: Scene Deletion Notice redesigned & updated.
389
+ * Tweak: Scene Limit Reached Notice redesigned & updated.
390
+ * Tweak: Invalid Hotspot ID Notice redesigned & updated.
391
+ * Tweak: Duplicate Hotspot ID Notice redesigned & updated.
392
+ * Tweak: On-click Content + URL Dual Input Notice redesigned & updated.
393
+ * Tweak: Custom Icon + Custom Icon Class Dual Input Notice redesigned & updated.
394
+ * Tweak: Target Scene Missing Notice redesigned & updated.
395
+ * Tweak: Hotspot Limit Reached Notice redesigned & updated.
396
+ * Tweak: Hotspot Deletion Notice redesigned & updated.
397
+ * Fix: Autoplay bug for 360-degree videos.
398
+
399
+ = 7.2.9 (25-05-2021) =
400
+ * New: Warning message added for Street View tab.
401
+ * Tweak: Rollback versions updated.
402
+
403
+ = 7.2.8 (06-05-2021) =
404
+ * Fix: PHP Warnings on Backend & Frontend
405
+ * Fix: Audio Issue for self-hosted videos on hotspots
406
+
407
+ = 7.2.7 (12-04-2021) =
408
+ * Tweak: Rollback versions updated.
409
+ * Tweak: Video tab warning pop-up redesigned.
410
+ * New: Preview Image Text is made dynamic.
411
+ * New: On the Hotspots tab, the active Scene ID will be mentioned.
412
+ * Fix: Elementor Widget Issue.
413
+ * Fix: Preview Image Text font mismatch.
414
+
415
+ = 7.2.6 (22-03-2021) =
416
+ * Tweak: Rollback versions updated
417
+ * Fix: Dummy notice removed
418
+ * Fix: AppSero Updater Error
419
+
420
+ = 7.2.5 (11-03-2021) =
421
+ * Update: Checked compatibility with WordPress 5.7
422
+ * New: Visual Composer element support
423
+ * Fix: PHP warnings on the dashboard
424
+
425
+ = 7.2.4 (24-02-2021) =
426
+ * Tweak: Made the Enable Script Control option conditional
427
+ * Tweak: Added pop-up warning when switching to a video tour
428
+ * Fix: Style conflict issue with Phlox Pro theme
429
+ * Fix: Tour ID Dropdown responsiveness issue for WP VR Elementor Widget
430
+ * Fix: Icons of deleted scenes showing up
431
+
432
+ = 7.2.3 (09-02-2021) =
433
+ * Tweak: Removed Export tab alert
434
+ * Fix: PHP warnings on the activation
435
+
436
+ = 7.2.2 (21-12-2020) =
437
+ * Tweak: Removed dummy functions
438
+ * Fix: Browser JS conflict
439
+
440
+ = 7.2.1 (17-12-2020) =
441
+ * New: Warning message added for video tours
442
+ * Fix: VR audio JS error
443
+ * Fix: Tab and accordion issue
444
+ * Tweak: Modified rollback options
445
+
446
+ = 7.2.0 (09-12-2020) =
447
+ * Update: Checked compatibility with WordPress 5.6
448
+ * Fix: VR audio conflict
449
+
450
+ = 7.1.0 (19-11-2020) =
451
+ * Tweak: Modified Black Friday banner
452
+
453
+ = 7.0.0 (19-11-2020) =
454
+ * New: Added Black Friday banner
455
+
456
+ = 6.9.0 (16-11-2020) =
457
+ * New: Accordion support for Elementor
458
+ * Fix: Iframe conflict
459
+ * Fix: Control button overlap issue
460
+
461
+ = 6.8.0 (22-10-2020) =
462
+ * New: Display Scene Gallery by default
463
+
464
+ = 6.7.0 (18-09-2020) =
465
+ * Tweak: Modified Import/Export
466
+ * Tweak: Added switch for Mobile Media Resizer
467
+ * Fix: Conflict with OceanWP Theme
468
+
469
+ = 6.6.0 (09-09-2020) =
470
+ * Tweak: Modified Scene Gallery preview
471
+ * Tweak: Modified Mobile Media Resizer
472
+ * Fix: Video tab bug
473
+ * Fix: Error handled for allow open URL
474
+
475
+ = 6.5.0 (31-08-2020) =
476
+ * Update: Updated Appsero version
477
+ * Fix: Empty needle warning
478
+
479
+ = 6.4.0 (19-08-2020) =
480
+ * Fix: Media Resizer fixed
481
+
482
+ = 6.3.0 (14-08-2020) =
483
+ * Update: Checked compatibility with WordPress 5.5
484
+ * New: Mobile Media Resizer option added
485
+ * Fix: Google Street View responsive issue
486
+
487
+ = 6.2.0 (07-08-2020) =
488
+ * New: Oxygen Builder Element support added
489
+ * New: Multi-site support added
490
+ * New: Dynamic Front-end Notice option added
491
+
492
+ = 6.1.0 (31-7-2020) =
493
+ * Fix: Style issue for On-click content
494
+
495
+ = 6.0.0 (28-7-2020) =
496
+ * Fix: Safari browser issues
497
+ * Fix: JS error for optimization
498
+
499
+ = 5.9.0 (27-7-2020) =
500
+ * Fix: Export/Import SSL error
501
+ * Fix: JS errors
502
+
503
+ = 5.8.0 (25-7-2020) =
504
+ * New: Submit restriction to control gyro for SSL
505
+ * New: Add-on compatibility added
506
+ * New: Mobile notice added
507
+ * Tweak: License input type changed to password
508
+ * Fix: On-click content container responsive issue
509
+
510
+ = 5.7.0 (20-7-2020) =
511
+ * Update: User Interface updated
512
+ * New: Rollback feature added
513
+ * Tweak: Gallery image size changed to thumbnail
514
+ * Tweak: Gallery Scene IDs replaced with Scene Titles
515
+ * Fix: Youtube 360 video autoplay issue
516
+ * Fix: Company logo style issue
517
+ * Fix: Saving draft issue
518
+
519
+ = 5.6.0 (15-06-2020) =
520
+ * New: Tour Background Music support added
521
+
522
+ = 5.5.0 (12-05-2020) =
523
+ * Tweak: Self-hosted videos pause on closing window
524
+ * Fix: Custom control button conflict
525
+ * Fix: On-click content container issue
526
+
527
+ = 5.4.0 (27-04-2020) =
528
+ * Fix: Device Orientation control issue
529
+
530
+ = 5.3.0 (16-04-2020) =
531
+ * New: Keyboard zoom control added
532
+ * Tweak: Style modified for Company Logo
533
+
534
+ = 5.2.0 (02-04-2020) =
535
+ * New: Author URL field added
536
+
537
+ = 5.1.0 (26-03-2020) =
538
+ * New: Auto device based gyro option added
539
+
540
+ = 5.0.0 =
541
+ * New: Home button added for returning to the default scene
542
+
543
+ = 4.9.0 =
544
+ * New: Scene title field added for Scene Gallery
545
+
546
+ = 4.8.0 =
547
+ * Tweak: Script & Style files control modified
548
+
549
+ = 4.7.0 =
550
+ * New: High-resolution image upload option added
551
+ * Fix: Gyroscope conflict with default controls
552
+ * Fix: Input type error
553
+
554
+ = 4.6.0 =
555
+ * Fix: Gyroscope support issue for custom controls
556
+
557
+ = 4.5.0 =
558
+ * Update: Library updated
559
+ * Fix: Default icon issue on android smartphones
560
+
561
+ = 4.4.0 =
562
+ * New: Option to Control plugin scripts and styles to load them on specific pages only
563
+ * Fix: Draggable error fix
564
+
565
+ = 4.3.0 =
566
+ * New: Added option to enable/disable Draggable feature
567
+ * Tweak: Settings titles capitalized
568
+
569
+ = 4.2.0 =
570
+ * New: Added option to enable/disable Keyboard Controls
571
+ * Fix: Font-Awesome conflict
572
+
573
+ = 4.1.0 =
574
+ * New: Autoplay and Loop options added for 360-degree videos
575
+ * New: Mouse scroll support added
576
+
577
+ = 4.0.0 =
578
+ * New: Option to control User Roles for the plugin
579
+
580
+ = 3.9.0 =
581
+ * Fix: Gallery toggle issue
582
+
583
+ = 3.8.0 =
584
+ * Tweak: Loading box design changed
585
+
586
+ = 3.7.0 =
587
+ * New: Partial Panorama support
588
+
589
+ = 3.6.0 =
590
+ * Update: JS optimization removed
591
+
592
+ = 3.5.0 =
593
+ * Fix: Front-end errors
594
+
595
+ = 3.4.9 =
596
+ * Tweak: JS & CSS loading optimized
597
+
598
+ = 3.4.8 =
599
+ * Tweak: Optimized the backend preview loading
600
+
601
+ = 3.4.7 =
602
+ * Google street view embed
603
+
604
+ = 3.4.6 =
605
+ * Custom control feature
606
+ * WordPress 5.3 bug fix
607
+
608
+ = 3.4.5 =
609
+ * WordPress.com hosting support fixed
610
+
611
+ = 3.4.4 =
612
+ * Rotation fix on default scene face
613
+ * Rotation fix on hotspots to target scene face
614
+ * Plugin library update
615
+
616
+ = 3.4.3 =
617
+ * Autorotation error fix
618
+ * Ziparchive class error fix
619
+
620
+ = 3.4.2 =
621
+ * Gallery carousel design fix
622
+ * CSS and js restricted
623
+
624
+ = 3.4.1 =
625
+ * Gallery carousal fix
626
+
627
+ = 3.4.0 =
628
+ * Repeater delete confirmation fix.
629
+
630
+ = 3.3.0 =
631
+ * Placeholder change.
632
+
633
+ = 3.2.0 =
634
+ * Custom scene gallery conflict and a bug fix for iPhone and iPad.
635
+
636
+ = 3.1.0 =
637
+ * Custom scene gallery.
638
+ * Border radius tag added.
639
+ * Modified preview window.
640
+
641
+ = 3.0.0 =
642
+ * File import & export system added.
643
+ * Fullwidth tag added.
644
+ * Placeholder color changed.
645
+
646
+ = 2.9.0 =
647
+ * Tour selector updated on VR block.
648
+
649
+ = 2.8.0 =
650
+ * Dynamic error reporting added.
651
+
652
+ = 2.7.0 =
653
+ * Post memory limit fix.
654
+
655
+ = 2.6.0 =
656
+ * Duplicate tour.
657
+ * Blink animation automated.
658
+ * Language issue fixed.
659
+
660
+ = 2.5.0 =
661
+ * Gyroscope support on the premium version.
662
+ * Appsero error fix.
663
+ * Gutenberg block column layout fix.
664
+
665
+ = 2.4.0 =
666
+ * Font-awesome icon load fix.
667
+ * Plugin conflict fix.
668
+ * Rextheme link removed from premium version.
669
+
670
+ = 2.3.0 =
671
+ * Elementor widget support for free.
672
+ * Mozilla Firefox bug fix.
673
+ * CDN load fix.
674
+ * Block input dropdown added.
675
+ * Hotspot based scene face added.
676
+
677
+ = 2.2.0 =
678
+ * Scene title and author tag support.
679
+ * Elementor widget support.
680
+
681
+ = 2.1.1 =
682
+ * Dynamic Font-Awesome icon added for hotspots.
683
+ * Dynamic color picker added for hotspot color.
684
+ * Custom panorama compass support.
685
+ * Default zoom level.
686
+ * Maximum and minimum zoom range.
687
+ * Customize each scene’s default face on load.
688
+ * Scene grab control and custom boundary for each scene.
689
+
690
+ = 2.1.0 =
691
+ * Save draft fixed.
692
+ * Error handling fixed.
693
+ * Video support added.
694
+ * Slider revolution conflict fix.
695
+ * Auto rotation
696
+ * Rotation pause and stop control
697
+
698
+ = 2.0.0 =
699
+ * Gutenberg block support
700
+ * Bug fix.
701
+
702
+ = 1.0.1 =
703
+ * Default scene can be selected from the scene tab.
704
+ * Default height and width are given for shortcodes.
705
+
706
+ = 1.0 =
707
+ * Hotspot custom icon support.
708
+ * On screen control available.
709
+
710
+ == Upgrade Notice ==
711
  Please do update the WP VR to the latest version. Each update makes sure your plugin is supporting all tour features.
admin/class-wpvr-admin-pages.php CHANGED
@@ -1,38 +1,38 @@
1
- <?php
2
- if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
3
- /**
4
- * The admin-specific functionality of the plugin.
5
- *
6
- * @link http://rextheme.com/
7
- * @since 1.0.0
8
- *
9
- * @package Wpvr
10
- * @subpackage Wpvr/admin
11
- */
12
-
13
- class Wpvr_Admin_Pages {
14
-
15
- /**
16
- * Admin page setup is specified in this area.
17
- */
18
- function wpvr_add_admin_pages() {
19
-
20
- add_menu_page( 'WP VR', 'WP VR', 'manage_options', 'wpvr', array( $this, 'wpvr_admin_doc'),plugins_url(). '/wpvr/images/icon.png' , 25);
21
-
22
- add_submenu_page( 'wpvr', 'WP VR', 'Get Started','manage_options', 'wpvr', array( $this, 'wpvr_admin_doc'));
23
-
24
- add_submenu_page( 'wpvr', 'WP VR', 'Tours','manage_options', 'edit.php?post_type=wpvr_item', NULL);
25
-
26
- add_submenu_page( 'wpvr', 'WP VR', 'Add New Tour','manage_options', 'post-new.php?post_type=wpvr_item', NULL);
27
-
28
- do_action('wpvr_pro_license_page');
29
-
30
- }
31
-
32
- function wpvr_admin_doc() {
33
- require_once plugin_dir_path(__FILE__) . '/partials/wpvr_documentation.php';
34
- }
35
- function wpvr_pro_admin_doc() {
36
- require_once plugin_dir_path(__FILE__) . '/partials/wpvr_license.php';
37
- }
38
- }
1
+ <?php
2
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
3
+ /**
4
+ * The admin-specific functionality of the plugin.
5
+ *
6
+ * @link http://rextheme.com/
7
+ * @since 1.0.0
8
+ *
9
+ * @package Wpvr
10
+ * @subpackage Wpvr/admin
11
+ */
12
+
13
+ class Wpvr_Admin_Pages {
14
+
15
+ /**
16
+ * Admin page setup is specified in this area.
17
+ */
18
+ function wpvr_add_admin_pages() {
19
+
20
+ add_menu_page( 'WP VR', 'WP VR', 'manage_options', 'wpvr', array( $this, 'wpvr_admin_doc'),plugins_url(). '/wpvr/images/icon.png' , 25);
21
+
22
+ add_submenu_page( 'wpvr', 'WP VR', 'Get Started','manage_options', 'wpvr', array( $this, 'wpvr_admin_doc'));
23
+
24
+ add_submenu_page( 'wpvr', 'WP VR', 'Tours','manage_options', 'edit.php?post_type=wpvr_item', NULL);
25
+
26
+ add_submenu_page( 'wpvr', 'WP VR', 'Add New Tour','manage_options', 'post-new.php?post_type=wpvr_item', NULL);
27
+
28
+ do_action('wpvr_pro_license_page');
29
+
30
+ }
31
+
32
+ function wpvr_admin_doc() {
33
+ require_once plugin_dir_path(__FILE__) . '/partials/wpvr_documentation.php';
34
+ }
35
+ function wpvr_pro_admin_doc() {
36
+ require_once plugin_dir_path(__FILE__) . '/partials/wpvr_license.php';
37
+ }
38
+ }
admin/class-wpvr-admin.php CHANGED
@@ -1,2802 +1,2802 @@
1
- <?php
2
- if (! defined('ABSPATH')) {
3
- exit;
4
- } // Exit if accessed directly
5
- /**
6
- * The admin-specific functionality of the plugin.
7
- *
8
- * @link http://rextheme.com/
9
- * @since 1.0.0
10
- *
11
- * @package Wpvr
12
- * @subpackage Wpvr/admin
13
- */
14
-
15
- /**
16
- * The admin-specific functionality of the plugin.
17
- *
18
- * Defines the plugin name, version, and two examples hooks for how to
19
- * enqueue the admin-specific stylesheet and JavaScript.
20
- *
21
- * @package Wpvr
22
- * @subpackage Wpvr/admin
23
- * @author Rextheme <sakib@coderex.co>t
24
- */
25
- class Wpvr_Admin
26
- {
27
-
28
- /**
29
- * The ID of this plugin.
30
- *
31
- * @since 1.0.0
32
- * @access private
33
- * @var string $plugin_name The ID of this plugin.
34
- */
35
- private $plugin_name;
36
-
37
- /**
38
- * The version of this plugin.
39
- *
40
- * @since 1.0.0
41
- * @access private
42
- * @var string $version The current version of this plugin.
43
- */
44
- private $version;
45
-
46
- /**
47
- * The post type of this plugin.
48
- *
49
- * @since 1.0.0
50
- */
51
- private $post_type;
52
-
53
- /**
54
- * Initialize the class and set its properties.
55
- *
56
- * @since 1.0.0
57
- * @param string $plugin_name The name of this plugin.
58
- * @param string $version The version of this plugin.
59
- */
60
- public function __construct($plugin_name, $version, $post_type)
61
- {
62
- $this->plugin_name = $plugin_name;
63
- $this->version = $version;
64
- $this->post_type = $post_type;
65
- }
66
-
67
- /**
68
- * Register the stylesheets for the admin area.
69
- *
70
- * @since 1.0.0
71
- */
72
- public function enqueue_styles()
73
- {
74
-
75
- /**
76
- * This function is provided for demonstration purposes only.
77
- *
78
- * An instance of this class should be passed to the run() function
79
- * defined in Wpvr_Loader as all of the hooks are defined
80
- * in that particular class.
81
- *
82
- * The Wpvr_Loader will then create the relationship
83
- * between the defined hooks and the functions defined in this
84
- * class.
85
- */
86
-
87
- $screen = get_current_screen();
88
- if ($screen->id=="toplevel_page_wpvr") {
89
- wp_enqueue_style('materialize-css', plugin_dir_url(__FILE__) . 'css/materialize.min.css', array(), $this->version, 'all');
90
- wp_enqueue_style('materialize-icons', plugin_dir_url(__FILE__) . 'lib/materializeicon.css', array(), $this->version, 'all');
91
- wp_enqueue_style('owl-css', 'https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css', array(), $this->version, 'all');
92
-
93
- wp_enqueue_style($this->plugin_name, plugin_dir_url(__FILE__) . 'css/wpvr-admin.css', array(), $this->version, 'all');
94
- }
95
-
96
- if ($screen->id=="wpvr_item") {
97
- wp_enqueue_style($this->plugin_name . 'fontawesome', plugin_dir_url(__FILE__) . 'lib/fontawesome/css/all.css', array(), $this->version, 'all');
98
- wp_enqueue_style('icon-picker-css', plugin_dir_url(__FILE__) . 'css/jquery.fonticonpicker.min.css', array(), $this->version, 'all');
99
- wp_enqueue_style('icon-picker-css-theme', plugin_dir_url(__FILE__) . 'css/jquery.fonticonpicker.grey.min.css', array(), $this->version, 'all');
100
- wp_enqueue_style('owl-css', plugin_dir_url(__FILE__) . 'css/owl.carousel.css', array(), $this->version, 'all');
101
- wp_enqueue_style('panellium-css', plugin_dir_url(__FILE__) . 'lib/pannellum/src/css/pannellum.css', array(), true);
102
- wp_enqueue_style('videojs-css', plugin_dir_url(__FILE__) . 'lib/pannellum/src/css/video-js.css', array(), true);
103
- wp_enqueue_style($this->plugin_name, plugin_dir_url(__FILE__) . 'css/wpvr-admin.css', array(), $this->version, 'all');
104
- }
105
- }
106
-
107
- /**
108
- * Register the JavaScript for the admin area.
109
- *
110
- * @since 1.0.0
111
- */
112
- public function enqueue_scripts()
113
- {
114
-
115
- /**
116
- * This function is provided for demonstration purposes only.
117
- *
118
- * An instance of this class should be passed to the run() function
119
- * defined in Wpvr_Loader as all of the hooks are defined
120
- * in that particular class.
121
- *
122
- * The Wpvr_Loader will then create the relationship
123
- * between the defined hooks and the functions defined in this
124
- * class.
125
- */
126
-
127
- $wpvr_list = array();
128
- $wpvr_list[] = array('value'=>0,'label'=>'None');
129
- $args = array(
130
- 'numberposts' => -1,
131
- 'post_type' => 'wpvr_item'
132
- );
133
-
134
- $wpvr_posts = get_posts( $args );
135
- foreach ($wpvr_posts as $wpvr_post) {
136
- $wpvr_list[] = array('value'=>$wpvr_post->ID,'label'=>$wpvr_post->post_title);
137
- }
138
-
139
- wp_enqueue_script('wp-api');
140
- $adscreen = get_current_screen();
141
- wp_enqueue_media();
142
- if ($adscreen->id=="wpvr_item" || $adscreen->id=="toplevel_page_wpvr") {
143
- wp_enqueue_script('wpvr-icon-picker', plugin_dir_url(__FILE__) . 'lib/jquery.fonticonpicker.min.js', array(), true);
144
- wp_enqueue_script('panellium-js', plugin_dir_url(__FILE__) . 'lib/pannellum/src/js/pannellum.js', array(), true);
145
- wp_enqueue_script('panelliumlib-js', plugin_dir_url(__FILE__) . 'lib/pannellum/src/js/libpannellum.js', array(), true);
146
- wp_enqueue_script('videojs-js', plugin_dir_url(__FILE__) .'js/video.js', array('jquery'), true);
147
- wp_enqueue_script('panelliumvid-js', plugin_dir_url(__FILE__) . 'lib/pannellum/src/js/videojs-pannellum-plugin.js', array(), true);
148
- wp_enqueue_script('jquery-repeater', plugin_dir_url(__FILE__) .'js/jquery.repeater.min.js', array('jquery'), true);
149
- wp_enqueue_script('icon-picker', plugin_dir_url(__FILE__) . 'lib/jquery.fonticonpicker.min.js', array(), true);
150
- wp_enqueue_script('owl', plugin_dir_url(__FILE__) . 'js/owl.carousel.js', array( 'jquery' ), false);
151
- wp_enqueue_script($this->plugin_name, plugin_dir_url(__FILE__) . 'js/wpvr-admin.js', array( 'jquery' ), $this->version, true);
152
- wp_localize_script($this->plugin_name, 'wpvr_obj', array(
153
- 'ajaxurl' => admin_url('admin-ajax.php'),
154
- 'ajax_nonce' => wp_create_nonce('wpvr'),
155
- ));
156
-
157
-
158
-
159
- }
160
-
161
- if ($adscreen->id=="toplevel_page_wpvr") {
162
- wp_enqueue_script('materialize-js', plugin_dir_url(__FILE__) . 'js/materialize.min.js', array( 'jquery' ), $this->version, false);
163
- }
164
-
165
- wp_enqueue_script('owl-js', 'https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js', array( 'jquery' ), false);
166
- wp_enqueue_script('wpvr-global', plugin_dir_url(__FILE__) . 'js/wpvr-global.js', array( 'jquery' ), $this->version, false);
167
- wp_localize_script('wpvr-global', 'wpvr_global_obj', array(
168
- 'ajaxurl' => admin_url('admin-ajax.php'),
169
- 'site_url' => site_url() . '/wp-json/',
170
- 'ajax_nonce' => wp_create_nonce('wpvr_global'),
171
- ));
172
- wp_localize_script('wpvr-global', 'wpvr_id_options', $wpvr_list);
173
- }
174
-
175
-
176
- /**
177
- * Plugin action links
178
- *
179
- * @param $links
180
- * @return array
181
- */
182
- public function plugin_action_links_wpvr($actions, $plugin_file, $plugin_data, $context)
183
- {
184
- $actions['get_started'] = sprintf(
185
- '<a href="%s">%s</a>',
186
- esc_url(admin_url('admin.php?page=wpvr')),
187
- esc_html__('Get Started', 'wpvr')
188
- );
189
- $actions['documentation'] = sprintf(
190
- '<a href="%s" target="_blank">%s</a>',
191
- esc_url('https://rextheme.com/docs-category/wp-vr/'),
192
- esc_html__('Documentation', 'wpvr')
193
- );
194
-
195
- if (!apply_filters('is_wpvr_pro_active', false)) {
196
- $actions['go-pro'] = sprintf(
197
- '<a href="%s" target="_blank" style="color: #201cfe; font-weight: bold;">%s</a>',
198
- esc_url('https://rextheme.com/wpvr/#pricing'),
199
- esc_html__('Go Pro', 'wpvr')
200
- );
201
- }
202
- return $actions;
203
- }
204
-
205
-
206
- /**
207
- * Init the edit screen of the plugin post type item
208
- *
209
- * @since 1.0.0
210
- */
211
- public function wpvr_admin_init()
212
- {
213
- /*
214
- * Documentation : https://developer.wordpress.org/reference/functions/add_meta_box/
215
- */
216
-
217
- add_meta_box(
218
- $this->post_type . '_builder__box',
219
- __('Tour Preview', $this->plugin_name),
220
- array($this, 'wpvr_display_meta_box_builder'),
221
- $this->post_type,
222
- 'side',
223
- 'high'
224
- );
225
- }
226
-
227
-
228
- /**
229
- * Register the custom post type
230
- *
231
- * @since 1.0.0
232
- */
233
- public function wpvr_add_plugin_custom_post_type()
234
- {
235
- $labels = array(
236
- 'name' => __('Tours', $this->plugin_name),
237
- 'singular_name' => __('Tours', $this->plugin_name),
238
- 'add_new' => __('Add New Tour', $this->plugin_name),
239
- 'add_new_item' => __('Add New Tour', $this->plugin_name),
240
- 'edit_item' => __('Edit Tour', $this->plugin_name),
241
- 'new_item' => __('New Tour', $this->plugin_name),
242
- 'view_item' => __('View Tour', $this->plugin_name),
243
- 'search_items' => __('Search Wpvr Tour', $this->plugin_name),
244
- 'not_found' => __('No Wpvr Tour found', $this->plugin_name),
245
- 'not_found_in_trash'=> __('No Wpvr Tour found in Trash', $this->plugin_name),
246
- 'parent_item_colon' => '',
247
- 'all_items' => __('All Tours', $this->plugin_name),
248
- 'menu_name' => __('WP VR', $this->plugin_name),
249
- );
250
-
251
- $args = array(
252
- 'labels' => $labels,
253
- 'public' => false,
254
- 'show_ui' => true,
255
- 'show_in_menu' => false,
256
- 'menu_position' => 100,
257
- 'supports' => array( 'title' ),
258
- 'menu_icon' => plugins_url(). '/wpvr/images/icon.png',
259
- 'capabilities' => array(
260
- 'edit_post' => 'edit_wpvr_tour',
261
- 'edit_posts' => 'edit_wpvr_tours',
262
- 'edit_others_posts' => 'edit_other_wpvr_tours',
263
- 'publish_posts' => 'publish_wpvr_tours',
264
- 'read_post' => 'read_wpvr_tour',
265
- 'read_private_posts' => 'read_private_wpvr_tours',
266
- 'delete_post' => 'delete_wpvr_tour'
267
- ),
268
- 'map_meta_cap' => true,
269
- );
270
-
271
- /**
272
- * Documentation : https://codex.wordpress.org/Function_Reference/register_post_type
273
- */
274
- register_post_type($this->post_type, $args);
275
- }
276
-
277
- /**
278
- * Populates the data in the custom columns
279
- *
280
- * @since 1.0.0
281
- */
282
- public function wpvr_manage_posts_custom_column($column_name)
283
- {
284
- $post = get_post();
285
-
286
- switch ($column_name) {
287
- case 'shortcode':
288
- echo '<code>[wpvr id="' . $post->ID . '"]</code>';
289
- break;
290
- default:
291
- break;
292
- }
293
- }
294
-
295
- /**
296
- * Adds the custom columns to the post type admin screen
297
- *
298
- * @since 1.0.0
299
- */
300
- public function wpvr_manage_post_columns()
301
- {
302
- $columns = array(
303
- 'cb' => '<input type="checkbox" />',
304
- 'title' => __('Title', $this->plugin_name),
305
- 'shortcode' => __('Shortcodes', $this->plugin_name),
306
- 'author' => __('Author', $this->plugin_name),
307
- 'date' => __('Date', $this->plugin_name)
308
- );
309
- return $columns;
310
- }
311
-
312
- /**
313
- * Sets the messages for the custom post type
314
- *
315
- * @since 1.0.0
316
- */
317
- public function wpvr_post_updated_messages($messages)
318
- {
319
- $messages[$this->post_type][1] = __('WP VR item updated.', $this->plugin_name);
320
- $messages[$this->post_type][4] = __('WP VR item updated.', $this->plugin_name);
321
-
322
- return $messages;
323
- }
324
-
325
- /**
326
- * Render the shortcode box for this plugin.
327
- *
328
- * @since 1.0.0
329
- */
330
- public function wpvr_display_meta_box_shortcode()
331
- {
332
- include_once('partials/wpvr-meta-box-shortcode-display.php');
333
- }
334
-
335
- /**
336
- * Render the builder box for this plugin.
337
- *
338
- * @since 1.0.0
339
- */
340
- public function wpvr_display_meta_box_builder()
341
- {
342
- include_once('partials/wpvr-meta-box-builder-display.php');
343
- }
344
-
345
- /**
346
- * Custom Metabox
347
- */
348
- public function wpvr_add_setup_metabox()
349
- {
350
- add_meta_box('setup', __('Setup'), array($this, 'wpvr_setup'), 'wpvr_item', 'normal', 'high');
351
- }
352
- public function wpvr_setup($post)
353
- {
354
- $data_limit = 5;
355
-
356
- $scene_limit = $data_limit + 1;
357
- $postdata = get_post_meta($post->ID, 'panodata', true);
358
-
359
-
360
- $autoload = true;
361
- if (isset($postdata["autoLoad"])) {
362
- $autoload = $postdata["autoLoad"];
363
- }
364
-
365
- $control = true;
366
- if (isset($postdata["showControls"])) {
367
- $control = $postdata["showControls"];
368
- }
369
-
370
- $default_scene = '';
371
- if (isset($postdata["defaultscene"])) {
372
- $default_scene = $postdata["defaultscene"];
373
- }
374
-
375
- $preview = '';
376
- if (isset($postdata['preview'])) {
377
- $preview = $postdata['preview'];
378
- }
379
- $previewtext = '';
380
- if (isset($postdata['previewtext'])) {
381
- $previewtext = $postdata['previewtext'];
382
- }
383
-
384
- $autorotation = '';
385
- if (isset($postdata["autoRotate"])) {
386
- $autorotation = $postdata["autoRotate"];
387
- } else {
388
- $autorotation = -5;
389
- }
390
- $autorotationinactivedelay = '';
391
- if (isset($postdata["autoRotateInactivityDelay"])) {
392
- $autorotationinactivedelay = $postdata["autoRotateInactivityDelay"];
393
- }
394
-
395
- $autorotationstopdelay = '';
396
- if (isset($postdata["autoRotateStopDelay"])) {
397
- $autorotationstopdelay = $postdata["autoRotateStopDelay"];
398
- }
399
-
400
- $scene_fade_duration = '';
401
- if (isset($postdata["scenefadeduration"])) {
402
- $scene_fade_duration = $postdata["scenefadeduration"];
403
- }
404
-
405
- $pano_data = '';
406
- if (isset($postdata["panodata"])) {
407
- $pano_data = $postdata["panodata"];
408
- }
409
-
410
- $custom_icon_array = new Wpvr_fontawesome_icons();
411
- $custom_icon = $custom_icon_array->icon;
412
-
413
- $html = '';
414
-
415
-
416
-
417
- $html .= '<div class="pano-setup">';
418
-
419
- // active tab variables
420
- $active_tab = 'general';
421
- $scene_active_tab = 1;
422
- $hotspot_active_tab = 1;
423
- if (isset($_GET['active_tab'])) {
424
- $active_tab = $_GET['active_tab'];
425
- }
426
- if (isset($_GET['scene'])) {
427
- $scene_active_tab = $_GET['scene'];
428
- }
429
- if (isset($_GET['hotspot'])) {
430
- $hotspot_active_tab = $_GET['hotspot'];
431
- }
432
-
433
- $html = '';
434
-
435
- $html .= '<div class="pano-setup">';
436
-
437
- $html .= '<input type="hidden" value="'.$active_tab.'" name="wpvr_active_tab" id="wpvr_active_tab"/>';
438
- $html .= '<input type="hidden" value="'.$scene_active_tab.'" name="wpvr_active_scenes" id="wpvr_active_scenes"/>';
439
- $html .= '<input type="hidden" value="'.$hotspot_active_tab.'" name="wpvr_active_hotspot" id="wpvr_active_hotspot"/>';
440
-
441
- //--------start pano alert------
442
- $html .= '<div class="pano-alert scene-alert">';
443
- $html .= '<div class="pano-error-wrapper">';
444
- $html .= '<div class="pano-error-body">';
445
- $html .= '<span class="cross pano-error-close-btn">
446
- <svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
447
- <path fill-rule="evenodd" clip-rule="evenodd" d="M18.7778 18.7786C14.4819 23.074 7.51728 23.0738 3.22169 18.778C-1.0739 14.4823 -1.0739 7.51769 3.22169 3.22196C7.51728 -1.07378 14.4819 -1.07402 18.7778 3.22143C20.8409 5.28436 22 8.08242 22 11C22 13.9176 20.8409 16.7156 18.7778 18.7786ZM14.9278 8.21857L12.1071 11L14.9278 13.7814C15.0865 13.93 15.1765 14.1376 15.1765 14.355C15.1765 14.5724 15.0865 14.78 14.9278 14.9286C14.7795 15.0756 14.5788 15.1576 14.3699 15.1564C14.1638 15.1556 13.9663 15.0737 13.8199 14.9286L10.9992 12.1079L8.21778 14.9286C8.07143 15.0737 7.8739 15.1556 7.66778 15.1564C7.45893 15.1576 7.2582 15.0756 7.10992 14.9286C6.80528 14.6221 6.80528 14.1272 7.10992 13.8207L9.89135 11L7.10992 8.21857C6.84295 7.90683 6.8609 7.44213 7.15112 7.15191C7.44134 6.8617 7.90604 6.84375 8.21778 7.11071L10.9992 9.89214L13.7806 7.11071C13.9785 6.9058 14.2707 6.82202 14.5471 6.89095C14.8236 6.95988 15.0422 7.17104 15.1207 7.44488C15.1992 7.71872 15.1257 8.01365 14.9278 8.21857ZM4.34363 4.34471C8.02058 0.663508 13.9845 0.656605 17.6699 4.32929C19.4452 6.09842 20.4431 8.50157 20.4431 11.0079C20.4431 13.5141 19.4452 15.9173 17.6699 17.6864C13.9845 21.3591 8.02058 21.3522 4.34363 17.671C0.666691 13.9898 0.666691 8.02591 4.34363 4.34471Z" fill="#A8A7BE"/>
448
- </svg>
449
- </span>';
450
-
451
- $html .= '<span class="icon pano-warning">
452
- <svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
453
- <path fill-rule="evenodd" clip-rule="evenodd" d="M0 15C0 23.2843 6.71573 30 15 30C23.2843 30 30 23.2843 30 15C30 6.71573 23.2843 0 15 0C6.71573 0 0 6.71573 0 15ZM2 15C2 7.8203 7.8203 2 15 2C22.1797 2 28 7.8203 28 15C28 22.1797 22.1797 28 15 28C7.8203 28 2 22.1797 2 15Z" fill="#004EFA"/>
454
- <circle cx="8.5" cy="11.5" r="1.5" fill="#004EFA"/>
455
- <circle cx="21.5" cy="11.5" r="1.5" fill="#004EFA"/>
456
- <path d="M20.9993 21.9932C20.7336 21.995 20.4781 21.8728 20.2894 21.6537C17.6429 18.5603 13.3571 18.5603 10.7106 21.6537C10.5228 21.8753 10.2673 22 10.0007 22C9.73407 22 9.4785 21.8753 9.29076 21.6537C8.90308 21.1971 8.90308 20.4596 9.29076 20.0029C12.7241 15.999 18.2759 15.999 21.7092 20.0029C22.0969 20.4596 22.0969 21.1971 21.7092 21.6537C21.5205 21.8728 21.2651 21.995 20.9993 21.9932V21.9932Z" fill="#004EFA"/>
457
- </svg>
458
- </span>';
459
-
460
- $html .= '<div class="pano-error-message"></div>';
461
-
462
- $html .= '</div>';
463
- //---end error body---
464
-
465
- //---error footer---
466
- $html .= '<div class="pano-error-footer">';
467
- $html .= '<ul>';
468
- $html .= '<li class="pano-error-close">';
469
- $html .= '<a href="https://rextheme.com/wpvr/" target="_blank" >Upgrade to Pro</a>';
470
- $html .= '</li>';
471
- $html .= '</ul>';
472
- $html .= '</div>';
473
- $html .= '</div>';
474
- $html .= '</div>';
475
- //--------end pano alert------
476
-
477
- $html .='<div class="rex-pano-tabs">';
478
- $html .='<nav class="rex-pano-tab-nav rex-pano-nav-menu main-nav" id="wpvr-main-nav">';
479
- $html .='<ul>';
480
- $html .='<li class="logo"><img src="'.WPVR_PLUGIN_DIR_URL . 'admin/icon/logo.png'.'" alt="logo" /></li>';
481
-
482
- $html .='<li class="general active" data-screen="general">';
483
- $html .='<span data-href="#general">';
484
- $html .='<img src="'.WPVR_PLUGIN_DIR_URL . 'admin/icon/general-regular.png'.'" alt="icon" class="regular" />';
485
- $html .='<img src="'.WPVR_PLUGIN_DIR_URL . 'admin/icon/general-hover.png'.'" alt="icon" class="hover" />';
486
- $html .=''.__('General', 'wpvr').'</span>';
487
- $html .='</li>';
488
-
489
- $html .='<li class="scene" data-screen="scene">';
490
- $html .='<span data-href="#scenes">';
491
- $html .='<img src="'.WPVR_PLUGIN_DIR_URL . 'admin/icon/scenes-regular.png'.'" alt="icon" class="regular" />';
492
- $html .='<img src="'.WPVR_PLUGIN_DIR_URL . 'admin/icon/scenes-hover.png'.'" alt="icon" class="hover" />';
493
- $html .=''.__('Scenes', 'wpvr').'</span>';
494
- $html .='</li>';
495
-
496
- $html .='<li class="hotspot" data-screen="hotspot">';
497
- $html .='<span data-href="#scenes">';
498
- $html .='<img src="'.WPVR_PLUGIN_DIR_URL . 'admin/icon/hotspot-regular.png'.'" alt="icon" class="regular" />';
499
- $html .='<img src="'.WPVR_PLUGIN_DIR_URL . 'admin/icon/hotspot-hover.png'.'" alt="icon" class="hover" />';
500
- $html .=''.__('Hotspot', 'wpvr').'</span>';
501
- $html .='</li>';
502
-
503
- $html .='<li class="videos" data-screen="video">';
504
- $html .='<span data-href="#video">';
505
- $html .='<img src="'.WPVR_PLUGIN_DIR_URL . 'admin/icon/video-regular.png'.'" alt="icon" class="regular" />';
506
- $html .='<img src="'.WPVR_PLUGIN_DIR_URL . 'admin/icon/video-hover.png'.'" alt="icon" class="hover" />';
507
- $html .=''.__('Video', 'wpvr').'</span>';
508
- $html .='</li>';
509
- $html .='</ul>';
510
- $html .='</nav>';
511
-
512
- $html .='<div class="rex-pano-tab-content" id="wpvr-main-tab-contents">';
513
- $html .='<div class="rex-pano-tab general active" id="general">';
514
-
515
- //=start inner tab=
516
- $html .= '<div class="general-inner-tab">';
517
- //=start inner nav=
518
- $html .= '<ul class="inner-nav">';
519
-
520
- $html .='<li class="gen-basic active">';
521
- $html .='<span data-href="#gen-basic">';
522
- $html .='<img src="'.WPVR_PLUGIN_DIR_URL . 'admin/icon/basic-settings-regular.png'.'" alt="icon" class="regular" />';
523
- $html .='<img src="'.WPVR_PLUGIN_DIR_URL . 'admin/icon/basic-settings-hover.png'.'" alt="icon" class="hover" />';
524
- $html .=''.__('Basic Settings ', 'wpvr').'</span>';
525
- $html .='</li>';
526
-
527
- $html .='<li class="gen-advanced">';
528
- $html .='<span data-href="#gen-advanced">';
529
- $html .='<span class="pro-tag">pro</span>';
530
- $html .='<img src="'.WPVR_PLUGIN_DIR_URL . 'admin/icon/advance-control-regular.png'.'" alt="icon" class="regular" />';
531
- $html .='<img src="'.WPVR_PLUGIN_DIR_URL . 'admin/icon/advance-control-hover.png'.'" alt="icon" class="hover" />';
532
- $html .=''.__('Advanced Controls ', 'wpvr').'</span>';
533
- $html .='</li>';
534
-
535
- $html .='<li class="gen-control">';
536
- $html .='<span data-href="#gen-control">';
537
- $html .='<span class="pro-tag">pro</span>';
538
- $html .='<img src="'.WPVR_PLUGIN_DIR_URL . 'admin/icon/control-buttons-regular.png'.'" alt="icon" class="regular" />';
539
- $html .='<img src="'.WPVR_PLUGIN_DIR_URL . 'admin/icon/control-buttons-hover.png'.'" alt="icon" class="hover" />';
540
- $html .=''.__('Control Buttons ', 'wpvr').'</span>';
541
- $html .='</li>';
542
-
543
- $html .='<li class="vr-documentation">';
544
- $html .='<a href="https://rextheme.com/docs-category/wp-vr/" target="_blank">'.__('Documentation ', 'wpvr').'</a>';
545
- $html .='</li>';
546
-
547
- $html .= '</ul>';
548
- //=end inner nav=
549
-
550
- $html .= '<div class="inner-nav-content">';
551
- $html .= '<div class="basic-settings-content inner-single-content active" id="gen-basic">';
552
- $html .= '<div class="content-wrapper">';
553
- $html .= '<div class="left">';
554
- //===preview image===//
555
- if (!empty($preview)) {
556
- $html .= '<div class="single-settings preview-setting">';
557
- $html .= '<span>'.__('Set a Tour Preview Image : ', 'wpvr').'</span>';
558
- $html .= '<div class="form-group">';
559
- $html .= '<input type="text" name="preview-attachment-url" class="preview-attachment-url" value="'.$preview.'">';
560
- $html .= '<input type="button" class="preview-upload" id="vr-preview-img" data-info="" value="Upload"/>';
561
- $html .= '<div class="img-upload-frame img-uploaded" style="background-image: url('.$preview.')">';
562
- $html .= '<span class="remove-attachment">x</span>';
563
- $html .= '<label for="vr-preview-img">';
564
- $html .= '<img src="'.WPVR_PLUGIN_DIR_URL . 'admin/icon/uplad-icon.png'.'" alt="preview img" />';
565
- $html .= '<span>'.__('Click to Upload an Image ', 'wpvr').'</span>';
566
- $html .= '</label>';
567
- $html .= '</div>';
568
-
569
- $html .= '</div>';
570
- $html .= '<span class="hints">'.__('This option will not work if the "Tour Autoload" is turned on.', 'wpvr').'</span>';
571
- $html .= '</div>';
572
- } else {
573
- $html .= '<div class="single-settings preview-setting">';
574
- $html .= '<span>'.__('Set a Tour Preview Image : ', 'wpvr').'</span>';
575
-