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

Announcements Ticker

描述

Easily create an announcements news ticker on your website. Put up new announcements just like how you would put up a blog post. Use the [announcements] shortcode to display all your announcements in a page or post.

Customize the look of your ticker from the WordPress administration screens. An options page allows you to change the colours and size.

螢幕截圖

  • Announcements ticker with automatically generated excerpt for long announcements
  • Options page with dynamic ticker preview

安裝

  1. Upload the announcements-ticker folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Create announcements like how you would create a blog post. Set the post date to the future time when the announcement expires.
  4. Add the shortcode [announcements] in the post or page content where you want the announcements to show.

常見問題

I created a new announcement but it’s not showing up in the ticker. Why??

Make sure you set the post date to a time in the future. WordPress should report it as a scheduled post. The ticker is designed to pick up future posts so that they expire and disappear automatically.

The options page is broken!

The dynamic preview and color pickers don’t seem to work in Internet Explorer. However, you can change the settings using the sliders and textboxes. Save the changes and they should show up on the front end.

For best results, use Google Chrome. Or if you know how to improve IE compatibility, let me know.

Sliders? What sliders? There’s nothing so cool on the options page.

Unforunately, Mozilla Firefox renders the sliders as textboxes. You can key in the values for text size and ticker height directly, but they will be reset to the default options if they are out of the permitted range.

Wait for a new version of Mozilla Firefox which will render the sliders, or use Google Chrome. Safari works too.

What are these mysterious permitted ranges?

Minimum ticker height: 32px
Maximum ticker height: 400px
Minimum text size: 8px
Maximum text size: 32px

I don’t like your ranges, they’re not suitable for my site.

All the ranges can be filtered with WordPress filters. Add the code into your theme’s functions.php to modify the values. Take a look from line 314 of announcements.php to find the filter hooks.

評價

There are no reviews for this plugin.

貢獻者及開發者

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

貢獻者

將 Announcements Ticker 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

0.3

  • (27 Nov 2012) Changed query so it no longer looks for future posts. Post dates greater than now will show up in the ticker.
  • Added filter so announcement custom post types will have the post status of future changed to publish when created or updated. This allows non admin users to see the full text after clicking on the Read All link.

0.2

  • (27 Aug 2012) Changed hardcoded development name used in the folder paths to the actual plugin name of announcements-ticker. Also renamed the main plugin file.

0.1

  • (26 Aug 2012) First Release.