Skip to content

Instantly share code, notes, and snippets.

@bigdigital
Last active June 20, 2017 11:58
Show Gist options
  • Save bigdigital/8e2f3ec49f67f8e7c62871acc2634f26 to your computer and use it in GitHub Desktop.
Save bigdigital/8e2f3ec49f67f8e7c62871acc2634f26 to your computer and use it in GitHub Desktop.
The7, add script before the end of your closing body tag </body>
add_action( 'wp_footer', function () { ?>
<script src="//lcp360.cachefly.net/panoskin.min.js"></script>
<script>
PANOSKIN.createViewer({
id: 'pano',
tour: 'TOUR-ID' /* Replace TOUR-ID with your tour's ID */
});
</script>
<?php } );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment