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.
- Unzip and upload plugin to the
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Add announcements using the Announcements tab in the WordPress Dashboard.
- Configure your widget under Announcements > Settings
Can I re-order my announcments?
Yes, 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.
Can I put the ticker in a post or page?
Yes, using the shortcode
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
[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"]
Can I display announcements by category?
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.
I want to put more than one ticker on a page, but it breaks when I try.
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.
Þátttakendur & höfundar
“Scheduled Announcements Widget” er opinn hugbúnaður. Eftirfarandi aðilar hafa lagt sitt af mörkum við smíði þessarar viðbótar.Höfundar
Interested in development?
- Overhaul of code to make it compatible with current version of WordPress.
- Sanitizing inputs on the shortcode option for better security.
- Fixed an issue with the shortcode not having default configuration settings if the user hasn’t visited the config page.
- Verified WordPress 4.0 compatibility
- Added some text to clarify the purpose of some of the widget fields.
- Updated the icon
- Fixed a badly written query for announcements filtered by category (thanks to Jurrien Dokter for pointing it out and offering a fix!)
- Fixed some WordPress 3.7.1 compatibility issues
- Altered shortcode to accept either category ID or category slug.
- Added default CSS id to the shortcode to prevent conflicts with the sidebar widget.
- Removed divider between anouncement title and text, and replaced it with a CSS span styles can be applied to if desired
- Fixed issue with unpublished annoucements showing up in the scroller.
- Clarified how the date scheduling feature works.
- Added the ability to change the transition speed of the scroll animation
- Fixed a bug that was breaking pages with multiple wigets in use
- Fixed a bug with the taxonomy filter within the widget
- Announcements now support shortcode in the body text
- Bug Fix: If no announcements are scheduled, the announcment block is hidden
- Announcements can now be filtered by category, allowing you to have multiple types of announcements (e.g. News, Alerts, Events, etc.)
- Added the ability to specify order of the announcements
- Announcement scrolling now pauses on mouseover
- Initial release.