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

Simple Notices

描述

A simple plugin that adds a notification system to your WordPress. Via custom post types, Simple Notices gives you a way to make announcements that are displayed site-wide at the top of your site.

Notices are displayed with fixed positioning, meaning that they will overlap the rest of your site’s contents. Each notice includes a close button that allows the current user to hide the notice. If the user is logged in, the notice ID will be permanently stored in their user meta, and so will never shown again. If the user is not logged in, the ID of the notice will be stored in a cookie.

Notices can be set to only be shown to logged-in users.

Five colors are included:

  • Blue
  • Red
  • Orange
  • Green
  • Gray

Go to the plugin’s home page for a demonstration video.

屏幕截图

  • Notices post type admin
  • Blue color scheme
  • Orange color scheme
  • Green color scheme
  • Gray color scheme

安装

  1. Upload simple-notices to wp-content/plugins
  2. Click “Activate” in the WordPress plugins menu
  3. Click Notices in the left dashboard menu
  4. Create a new notice, choose the color and click Publish

评价

2016 年 9 月 3 日 1 回复
There is a bug in this plugin. If you change your notices several times this plugin remembers each version of the notice, and displays it in the changed order several times. I tried this plugin with several colours and different text 6 times, and now all the 6 versions appears one after each other when I change the sites on my website. Tried this also after deleting the cookies but the same thing happens every time. This is quite annoying for visitors. Tested this on a few browsers and it is at least a problem in IE 11.0 and the ltest Firefox Using Tesseract 2.3.1 themes.
2016 年 9 月 3 日 8 回复
It’s a wonderful, wonderful developer.
阅读所有4条评价

贡献者及开发者

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

贡献者

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

对开发感兴趣吗?

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

更新日志

1.0.7

Updaed compatibility with latest versions of WordPress

1.0.6

Updated to allow notice content to be translated through plugins such as qTranslate.

1.0.3

Added an option to show notices to logged-in users only.

1.0.2

Updated CSS to work better with Twenty Evelen Dark theme.

1.0.1

Minor bug fix.

1.0

Initial release.