开发者 | rluks |
---|---|
更新时间 | 2023年8月3日 00:23 |
PHP版本: | 7.3 及以上 |
WordPress版本: | 5.9 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
/wp-content/plugins/plugin-name
directory, or install the plugin through the WordPress plugins screen directly.Navigate to your Dashboard screen. In the menu, select "Tools" and "Embed Twine".
Simply put the shortcode text in your page or post. Modern Gutenberg (block editor) provides "Shortcode widget". You can use either. You can use aditional parameters: "[embed_twine story="Story" aheight=112 autoscroll=true ascroll=100]" story Specify the story (filename without extension). When story parameter is omitted, it defaults to "Story". Meaning, there is no need to use this parameter if your Twine filename is Story.html. If you upload Twine story file MyFooBar.html use following the shortcode [embed_twine story="MyFooBar"]. aheight Use it to adjust iframe height. You might need to tweak this parameter to get rid of iframe scrollbar. Default value is 112. This value is added to iframe height and used to set iframe's style.height. autoscroll Autoscroll is enabled by default. Turn it off with shortcode parameter [embed_twine autoscroll=false]. ascroll Use it to adjust default position for autoscroll. Default value is 100. This value is subtracted from detected iframe top position and fed into javascript method window.scrollTo().
Twine is open source tool for creating interactive stories.
No, this plugin only supports Twine 2 stories.
I've tested following formats: