开发者 | mliebelt |
---|---|
更新时间 | 2022年2月7日 14:25 |
PHP版本: | 4.6 及以上 |
WordPress版本: | 5.9 |
版权: | GPL-3.0-or-later |
版权网址: | 版权信息 |
/wp-content/plugins/plugin-name
directory, or install the plugin through the WordPress plugins screen directly.The parameters the viewer understands are:
There is a Javascript variable PgnBaseDefaults
that you could set. Do the following:
Theme Header
(== header.php
).<head>
.<script>const PgnBaseDefaults = { locale: 'de', layout: 'left', size: '720px' }</script>
(of course with the defaults you like).Have a look at the GitHub repository https://github.com/mliebelt/PgnViewerJS-WP and the sister repository https://github.com/mliebelt/PgnViewerJS (which contains the implementation in Javascript).
PgnBaseDefault
. See the FAQ to that topic.