开发者 | jtermaat |
---|---|
更新时间 | 2024年9月20日 18:36 |
PHP版本: | 7.0.0 及以上 |
WordPress版本: | 6.6 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
your_wordpress_plugins_dir/360deg-javascript-viewer
directory, or Install as a regular WordPress pluginexample: [360-jsv total-frames=72 speed=90 inertia=30 max-width=200] // will take the default image
example: [360-jsv main-image-url=your/image.jpg total-frames=16 speed=90 inertia=30 image-url-format=your/image_xx.jpg]
Some people find it hard to construct a shortcode by hand, that's why we created a tool te make it more convenient.
You need to have images in your gallery and you need the shortcode filled into the product properties. Then the viewer will be shown in the product gallery. You can also use the shortcode in combination with a Gutenberg lock or Elementor block. In that case you must set the block to use the WooCommerce product code for presentation.
In the settings there is an options to define the ACF field what must be used by the Gutenberg block or Elementor block. In that case you must set the block to use the ACF code for presentation. You can fill the ACF field with the shortcode and it will be used by the block.
Yes, you can use global settings in the settings page. You can also use the shortcode to override the global settings.
Yes, you can call parse_jsv360_shortcode() function within your template. Use the shortcode as a parameter.