该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

iPROS24 Notices

描述

  • Allows to show notices on your WordPress site.
  • Comes with a number of built-in conditions for displaying the notices.
  • Supports extensible set of custom conditions.
  • Includes a shortcode for personalising the notices.
  • Supports password protected notices.
  • Has basic support for RTL languages.

Demo

We have to display notices to our visitors.

We have to ask for their consent to the use of cookies. We have to warn them when their browsers are out of date or they have cookies or JavaScript turned off and some features of the site may not work as intended.

This plugin allows you to do all of the above and more. It comes with a number of built-in conditions which make such a chore as trivial as pie. It also supports an extensible set of custom conditions and takes care of generating the necessary code and CSS rules.

Notices are implemented as a custom post type. They will be displayed site-wide at the top or bottom of your pages until closed. Optionally the list of viewed notices can be permanently stored in user metadata.

Built-in conditions:

  • User logged in/logged out.
  • Cookies enabled/disabled.
  • JavaScript enabled/disabled.
  • Browser supported/not supported.

There’s a reasonable default for Browser supported but you may fine-tune it in a client-side filter.

You may select any combination of built-in and custom conditions for displaying a notice.

Plugin and theme developers can hook to custom filters and events to set up custom or fine-tune built-in conditions.

Advanced usage and examples

Other iPROS24 plugins

iPROS24 Google Translate

屏幕截图

  • Sample notice.
  • Password protected and personalised notices.
  • Plugin settings.
  • Editing a notice.

安装

  1. Download iPROS24-notices-1.7.2.zip.
  2. Unpack the archive into the plugins directory of your WordPress installation (wp-content/plugins).
  3. Activate the plugin through the ‘Plugins’ screen in WordPress administration panel.
  4. Use the Settings -> Notices screen to configure the plugin and add custom conditions if needed.
  5. Add some notices and specify the conditions for displaying them.

Notes

Use server-side conditions to filter sensitive notices. If a notice makes it to the client it can be viewed in the HTML source of a page.

Use the shortcode to personalise your notices.

Support

评价

此插件暂无评价。

贡献者及开发者

「iPROS24 Notices」是开源软件。 以下人员对此插件做出了贡献。

贡献者

「iPROS24 Notices」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「iPROS24 Notices」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.7.2

  • Confirmed WordPress 5.4 compatible.
  • Updated libraries.

1.7.1

  • Confirmed WordPress 5 compatible.

1.7

  • Fixed cookie path.
  • Fixed notice styles with javascript disabled.
  • Added to readme.txt.
  • Updated libraries.

1.6.1

  • Fixed readme.txt.

1.6

  • Fixed the styles with the wpautop filter enabled.

1.5

  • Fixed a dependency error.

1.4

  • Released on January 9, 2018.