這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Signal Flags

描述

Usage

To insert an image of the flag for Letter A in a post or page, use the shortcode [signal-flag a]. You can use the following flags with the corresponding codes:
* Alphabet flags A-Z (codes az)
* Numeral pennants 0-9 (codes n0n9)
* Answering pennant (AP) (code ap)
* 1st, 2nd and 3rd substitute (codes s1s3)
* Various flags defined in the Racing Rules of Sailing (codes black, blackwhite, blue, green, greenwhite, red, yellow)

There are different sets of flags selectable from the admin settings page.

About the flag images

Images are embedded in the page using the SVG vector format (much quicker than loading a separate image file) and eight sets of flag images are included with the following options:
* with or without outlines for ease of use on white backgrounds (including when printed)
* rectangular (4:3 aspect ratio) and square shapes for letter flags
* in ‘natural’ or ‘primary’ colours.

Development

Development for the Signal Flags plugin is hosted on GitHub.

螢幕截圖

  • A post showing the [signal-flag] shortcode in use.
  • Signal Flags plugin settings.

常見問題

Why don’t these flags look like the ones we use at our club?

There are many variations in the shapes and designs of flags in use around the world. This plugin provides letter flags in square and 4:3 aspect ratios, but all the pennants are 2:1 and the triangle flags 4:3. Designs are a compromise based on experience mainly of flags commonly used in dinghy and yacht racing in the United Kingdom, and those supplied for use on yachts in the UK and Europe.

Can I change the colours?

This plugin provides flags in two different colour schemes:
* natural which aim to look like real flags
* primary which uses primary colours.

We are looking at options for creating custom colour schemes in the plugin, and are also working on a tool to create custom flag files and upload them for use in the plugin.

Can I change the shapes?

This plugin provides two different shapes for letter flags:
* rect (rectangular) which is normally used in the United Kingdom and elsewhere and is provided here in a 4:3 aspect ratio
* square which are normally used in the US

We are working on a tool to create custom flag files and upload them for use in the plugin.

Can I change the thickness or colour of the outline?

The plugin does not support this. We are working on a tool to create custom flag files and upload them for use in the plugin.

Can I change the designs e.g. the size of the circle on numeral pennants 1 and 2?

Not at the moment, but we are working on a tool to create custom flag files and upload them for use in the plugin.

If you think a design is simply wrong then look at the support forum to see if this has already been discussed or start a new topic.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Signal Flags” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Signal Flags 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.1.1 _14 August 2020_

Tested against WordPress 5.5.

1.1.0 _11 July 2020_

This is the first release of the Signal Flags plugin.