The Scheduled Announcements Widget lets you add a scrolling list of site announcements to any widgetized area of your site.
The Scheduled Announcements Widget lets you add a scrolling list of site announcements, independent of normal posts and pages, to any widgetized
area of your site, or to your theme files. Perfect for publicizing an event, alert, or notice that doesn’t require a full-page write-up. Announcements
can be scheduled to run indefinitely or during a specific date range, and admins can chose between horizontal or vertical scrolling.
This plugin makes use of the JSColor library. The JSColor project is maintained by Jan Odv�rko and released under the GNU Lesser General Public
License. See http://jscolor.com for more information.
/wp-content/plugins/
directoryYes, as of version 0.1.1. Each Announcement now includes a numerical Order field. You can set whether you want the widget to display Announcements in ascending
or descending order based on this field in the plugin’s Settings panel.
Yes, using the shortcode [announcements]
The shortcode function will use the default configuration options set in Announcements > Settings, but those settings can be overriden and customized manually using any
of the following variables.
title – Will display a header title above the ticker
show_titles – Will show or hide the title field of the announcements. Set to 1 for show, 0 for hide.
order – Set whether announcements display in ascending or descending order. Valid options are ‘ASC’ or ‘DESC’.
scroll – The scroll style of the ticker. Valid options are ‘horizontal’ or ‘vertical’.
speed – The speed in milliseconds at which the ticker will scroll
transition – The length in milliseconds at which the scroll animation will take to complete
width – The width in pixels of the ticker
height – The height in pixels of the ticker
link – The hexidecimal color code to use for links in the announcments (eg. 0000FF for blue)
text – The hexidecimal color code to use for links in the announcments (eg. 000000 for black)
saw_id – User specificed CSS ID for the ticker. Required if using more than one ticker shortcode on a page.
tax – The taxonomy/category ID (you may use the ID or the slug) to filter by
For example:
[announcements title="Announcements" order="ASC" show_titles="1" scroll="horizontal" speed="4000" transition="800" width="600" height="50" link="0000FF" text="000000" saw_id="news" tax="news"]
Yes. Assign a category to your announcement, and then select that category from the dropdown menu in the widget settings. If you are using the shortcode rather
than the widget, set the “tax” attribute to either the ID or slug of the category you wish to display. Make sure you are using slugs/IDs for the Announcement Categories
(displayed under the Announcements tab in the Dashboard) and not the default WordPress Categories.
[announcements tax="news"]
or
[announcements tax="7"]
You need to give each ticker its own unique id. In the shortcode this is done with the saw_id attribute (see shortcode example two questions back). In the widget, just fill in the
text box label Ticker ID.
You should also avoid the use of hypens in your ID names, because it will royally mess up the javascript. In most cases, if you forget, the plugin will automatically replace them
with underscores.