| 开发者 |
meinturnierplan
ramzesimus |
|---|---|
| 更新时间 | 2026年10月4日 22:12 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
The tournament pages on the MeinTurnierplan service no longer show the Tournament ID in the page address (a tournament URL now looks like https://www.meinturnierplan.de/c/{code}/{tournament-name}/, which does not contain the ID). To get the ID:
id shortcode attributeYou have several options:
[mtrn-table post_id="123"] (replace 123 with your table's post ID)Each tournament table and match list has extensive customization options in the admin area:
Tournament Table Shortcode Attributes: Common:
id - External tournament IDpost_id - WordPress post IDlang - Language code (en, de, etc.); defaults to the language saved on post_id, otherwise engroup - Group to display: 1 for the first group, 2 for the second and so on, or 90 for the final roundwidth - Override table widthheight - Override table height
Styling:
s-size - Font size (default: 9)
s-sizeheader - Header font size (default: 10)s-color - Text color (hex without #)s-maincolor - Main/accent color (default: 173f75)s-padding - Table padding (default: 2)s-innerpadding - Inner cell padding (default: 5)s-bgcolor - Background color with opacity (8-char hex)s-logosize - Logo size (default: 20)s-bcolor - Border color (default: bbbbbb)s-bsizeh - Horizontal border size (default: 1)s-bsizev - Vertical border size (default: 1)
Display Options:
sw - Suppress wins/losses/draws (1 to hide)
sl - Suppress logos (1 to hide)sn - Suppress number of matches (1 to hide)bm - Projector/presentation mode (1 to enable)nav - Enable group navigation (1 to enable)s-wrap - Responsive layout: wrap long names and allow horizontal scrolling on narrow screens (true to enable)
Matches Shortcode Attributes:id - External tournament IDpost_id - WordPress post IDlang - Language code (en, de, etc.); defaults to the language saved on post_id, otherwise engroup - Group to display: 1 for the first group, 2 for the second and so on, or 90 for the final round (omit for all matches)participant - Number of a participant (team) as shown in the tournament, to list only that team's matches (omit or -1 for all)gamenumbers - Single match number (e.g. 8) or a range (e.g. 2-7)
Display Options:
si - Suppress match numbers (1 to hide)
sf - Suppress court information (1 to hide)st - Suppress match times (1 to hide)sg - Suppress group information (1 to hide)sr - Suppress referee information (1 to hide)se - Suppress extra-time results in final matches (1 to hide)sp - Suppress penalty-shootout results in final matches (1 to hide)sh - Suppress headlines in final matches (1 to hide)bm - Projector/presentation mode (1 to enable)s-wrap - Responsive layout: wrap long names and allow horizontal scrolling on narrow screens (true to enable)participant is now an accepted [mtrn-matches] attribute, so copied shortcodes keep their participant filterpost_id now use the language (and service domain) and the Responsive setting saved on that postgroup attribute format and the service's legal / privacy linkss-wrap shortcode attribute and a "Responsive" settings group with live preview for both post types