Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

Notices Ticker

Описание

This plug-in allows short notices to be scrolled (ticker-tape style) or faded (in and out) on your blog. Each message is valid for a set number of days (0 = no expiry) from its creation (or update) date and can also be de-activated to keep it from being displayed until you are ready to let the world see it.

There are two ways to display the notices:
— Using a simple sidebar widget.
— Embed the ticker into one (or more) of your themes template files.

Установка

  • Put the complete plug-in folder into your WordPress plug-in directory (if this doesnt make sense it probably isnt something you should be trying) and activate it.
  • Define the text of your notices using the Notices form at Tools » Notices. Note that HTML is allowed in the text but be careful to avoid the " (double quote) character, use ' (single quote) instead. Each notice has these attributes:
  • Notice text (the notice itself).
  • The number of days the notice will be valid for.
  • Once created, a checkbox indicating if the notice is active.
  • The date is the date the notice is valid from and is the date the notice was created (or last updated).
  • Use the Notices widget (Appearance » Widgets) to show a sidebar widget that scrolls the chosen number of the most recent notices. The widget has just two options — the first (repeated from the main Settings » Notices page) the number of notices to show, and the second, a title for the widget.
  • Use this <?php put_ticker( [true | false] ); ?> in your themes template files. Where true or false determines if the ticker should be hidden when there are no notices to scroll.
    For example, <?php put_ticker(false); ?> only shows the ticker when there are notices to scroll, whereas <?php put_ticker(true); ?> always shows the ticker — even an empty one.
  • There is a small CSS document (notice.css) in the plug-in folder to help style your notices ticker. The three styles defined are:
  • .ticker — style for the text used in the notices.
  • .ticker img — style for images (use <img src=... /> in the notice text) in the notices. The example lines images up with the bottom of the notice text.
  • .ticker-div — style for the ticker container.

Участники и разработчики

«Notices Ticker» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «Notices Ticker» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.