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

Emergency Alerts

外掛說明

Create emergency alerts for your website. Inspired by the COVID-19 (Coronavirus) pandemic, but usable for all sorts of messaging that you need to get to your site’s users.

Includes options for text/background color, lightbox, fixed and absolute positioning. Includes some Javascript support for resizing.

You can force the alert to ALWAYS show or you can

螢幕擷圖

  • Sample settings screen with messaging. Toggle all plugin settings.

安裝方式

  1. Upload the plugin files to the /wp-content/plugins/wpm-emergency-alerts directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Settings -> Emergnecy Alerts screen to configure the plugin
  4. If you have issues with the default output not looking right with your site, you may need to add custom CSS via the Appearance > Customize option in WordPress (see FAQs).

常見問題集

Can I only show this on certain pages?

Currently, this is only available with a filter wpm_ea_status (set to "on" for on and "off" for off).

It’s trying to auto-adjust heights, can I turn this off?

Yes simply toggle the Enable Javascript Position Adjustments to OFF.

I installed the plugin, but it looks awful! What do I do?

You may need to add custom CSS. Usually the Lightbox, Top – Fixed, and Bottom – Fixed options work well regardless of site design, but are more obtrusive.

Top/Bottom Alert Positions will be more tricky with more complex header/footer areas. If you run out of support options, you may always work with our support team by signing up for further support at https://wpmaintainer.com

Is this responsive?

Yes, our default output is responsive but every site is different. You may require some custom CSS to make things look 100% perfect!

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Emergency Alerts〉的開發相關工作。

參與者

〈Emergency Alerts〉外掛目前已有 1 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Emergency Alerts〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.4.0

  • Corrects a bug where dismissing the alert wipes out default values from body_class()

1.3.0

  • Corrects a bug with the wpm_ea_status filter.

1.2.0

  • Adds custom expiration time for suppressable alerts.

1.1.1

  • Cleans up some code organization and comments.

1.1.0

  • Updates for repository imagery and a filename typo. Adds setting link shortcut.

1.0

  • First version of the plugin – released.