开发者 | livestory |
---|---|
更新时间 | 2024年9月20日 19:05 |
PHP版本: | 7.0 及以上 |
WordPress版本: | 6.6.1 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
https://assets.livestory.io/dist/livestory-xxxx.min.js
where xxxx stands for brand
code set up on plugin configuration.
Official documentation can be found here: https://livestory.nyc/documentation/articles/basic-client-side-integration/#main-script
Live Story services are compliant with Art. 13 of Regulation (EU) 2016/679 ("GDPR") regarding the processing of your personal data that we collect when you browse the Site and interact with its services. Detailed infos can be found at https://livestory.nyc/privacy page.
Setup guide
wp-config.php
define('LIVESTORY_BRANDCODE', 'code');
2. Clone this repository in the wp-content/plugins
directory
3. Activate it from the admin panel
Syntax
Add a layout
[livestory id="xyz" type="layout"]
Add a destination
[livestory id="xyz" type="destination"]
Stores and language
Support for store and language codes is available using the parameters store
and lang
.
[livestory id="xyz" type="layout" store="storeid" lang="foo"]
Example contents shortcodes
In Live Story plugin settings, set brand code value: demo
Use following shortcodes in Wordpress pages:
[livestory id="66aca2d449fcbc000846e6b7" type="layout"]
[livestory id="65ba07376c11e000080a6b7c" type="destination"]
live-story-short-code
folder to the /wp-content/plugins/
directoryYou have to use shortcode like this [livestory id="xyz" type="layout"]
You have to use shortcode like this [livestory id="xyz" type="destination"]