Support » Plugin: wp-pano » Multiple pano's on page

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Alexey Yuzhakov

    (@ifromussr)

    No, you can add only one panorama or virtual tour to one page in current version.

    madcap66

    (@madcap66)

    Following on from the original question…Is it possible to add different panorama tours to different pages on the same WP site or is it only one tour per website?

    TIA

    Plugin Author Alexey Yuzhakov

    (@ifromussr)

    At the moment wp-pano plugin only works with one virtual tour with any number of panoramas and scenes. But the functionality of the wp-pano has the capability to expand to work with several virtual tours. For this, define a vtour_name parameter, in future to be able to identify the different virtual tours.

    Currently, the task with multiple virtual tours can be solved by means of the krpano code.
    For example tour.xml:

    <krpano vtour_name="cities">
    	<include url="%$WPPANOPATH%/xml/wp-pano.xml"/>
    	<action name="start" autorun="onstart">
    		if(location == 'berlin', loadpano(berlin.xml, wp_pano.pano=berlin.xml));
    		if(location == 'london', loadpano(london.xml, wp_pano.pano=london.xml));
    		if(location == 'paris',	 loadpano(paris.xml, wp_pano.pano=paris.xml));
    	</action>
    </krpano>

    Embed pano: [wp-pano vars="'location':'berlin'"]

    But in this case you should use the scenes in each xml file because the wp-pano does not identify the newly downloaded xml file and will remember only tour.xml. This is due to the work of krpano and I can’t fix…
    More detail about it you can find on the krpano forum: http://krpano.com/forum/wbb/index.php?page=Thread&threadID=12624

    madcap66

    (@madcap66)

    Many thanks for the answer Alexey.

    madcap66, did you use this solution successful?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Multiple pano's on page’ is closed to new replies.