开发者 | mliebelt |
---|---|
更新时间 | 2025年1月11日 21:11 |
PHP版本: | 4.6 及以上 |
WordPress版本: | 6.8 |
版权: | 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).
pgnv
alone, don't convert to anything.PgnBaseDefault
. See the FAQ to that topic.