Widget Announcements WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA
Widget Announcements plugin for ClassicPress
Install
Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/azurecurve/azrcrv-widget-announcements/releases/download/v2.0.4/azrcrv-widget-announcements.zipWidget Announcements

Announce holidays, events, achievements, etc. in a widget.
Description
Announce holidays, events, achievements and notable historical figures in a widget.
Announcements can be made:
- One off
- Monthly
- Annually
- Good Friday
- Easter Sunday
- Easter Monday
- Monthly on the nth day (e.g. 2nd Wednesday)
- Annually on the nth day of the month (e.g. 4th Thursday November)
Announcements are created as a custom post type and can have details, an image and additional text after the image.
Installation
- Download the latest release of the plugin from GitHub.
- Upload the entire zip file using the Plugins upload function in your ClassicPress admin panel.
- Activate the plugin.
- Configure relevant settings via the settings page in the admin control panel (azurecurve menu).
Screenshots
Screenshots
- Create new announcement in the custom post type.
- Add widget to widget area and select category.
- Widget displayed on front end when announcement meets date criteria.
Frequently Asked Questions
Can I translate this plugin?
Yes, the .pot file is in the plugins languages folder; if you do translate this plugin, please sent the .po and .mo files to translations@azurecurve.co.uk for inclusion in the next version (full credit will be given).
Is this plugin compatible with both WordPress and ClassicPress?
This plugin is developed for ClassicPress, but will likely work on WordPress.
Changelog
Version 2.0.4
- Update to correct versioning problem.
- Update azurecurve menu.
Version 2.0.3
- Upgrade UpdateClient.
- Update azurecurve plugins list.
- Replace jquery with vanilla js.
- Correct headings on settings admin pages.
- Correct constants to match standard pattern.
- Remove To Twitter (azrcrv-tt) integration, including autopost/tweet/retweet metaboxes, settings tab, cron scheduling and related functions.
Version 2.0.2
- Update settings tabs and css to format th elements correctly.
Version 2.0.1
- Update description and list of plugins.
Version 2.0.0
- Modernise plugin to follow current azurecurve code patterns.
- Introduce
namespace azurecurve\WidgetAnnouncementsacross all PHP files. - Add plugin identity constants (
PLUGIN_NAME,PLUGIN_SLUG,PLUGIN_HYPHEN,PLUGIN_UNDERSCORE,PLUGIN_FILE,DEVELOPER_*). - Refactor monolithic plugin file into focused
includes/files:setup.php,functions-settings.php,functions-styles.php,functions-scripts.php,functions-menu.php,functions-language.php,functions-plugin-images.php,functions-custom-post-type.php,functions-metaboxes.php,functions-cron.php,functions-twitter.php,functions-widget.php. - Consolidate all
add_actionandadd_filtercalls intoincludes/setup.php. - Replace
pluginmenu/directory with standardincludes/azurecurve-menu-populate.phpandincludes/azurecurve-menu-display.php. - Move
logo.svgand all assets intoassets/directory; renamestyle.csstostyles.css. - Add
assets/css/admin-standard.cssandassets/css/admin-pluginmenu.css. - Update text domain from
widget-announcements/widget-announcementto consistentazrcrv-wa. - Update
Domain Pathto/assets/languages. - Replace
wp_redirect()withwp_safe_redirect()in settings save function. - Fix undefined variable
$post_IDbug in repeat announcement metabox save (was$post_id). - Remove custom
azrcrv_wa_is_plugin_active()reimplementation; use WordPress coreis_plugin_active()directly. - Remove
extract()from widget display method; replace with explicit variable assignments. - Replace timezone-unaware
date()calls withcurrent_time()in cron and widget date matching. - Replace plugin image path filter to use constant-based approach instead of
strpos()matching. - Move inline
style=""attributes from metabox render functions intoassets/css/admin.css. - Remove redundant activation hook cron scheduling; cron lifecycle managed entirely from settings save.
- Fix escaping throughout:
esc_attr()on time input values,esc_html()on page title output,esc_url()on all URL outputs. - Fix settings page submit button PHP short tag inside string literal.
- Standardise all comparisons to strict equality (
===); use(int)casting consistently. - Convert all files from Windows CRLF to Unix LF line endings.
- Refactor settings page to use standard azurecurve tab pattern; replace custom CSS tab toggle logic with server-side tab visibility.
- Rename
WP_Widgetsubclass fromazrcrv_wa_register_widgetto namespacedAnnouncements_Widget. - Increase required version of PHP to 8.2.
Version 1.5.6
- Update plugin header for compatibility with ClasssicPress v2.
Version 1.5.5
- Update plugin header and readme for compatibility with ClassicPress Directory v2.
- Update Update Manager to version 2.5.0.
Version 1.5.4
- Update readme file for compatibility with ClassicPress Directory.
Version 1.5.3
- Update readme files.
- Update language template.
- Fix bug with azurecurve menu.
Version 1.5.2
- Update azurecurve menu.
- Update readme files.
Version 1.5.1
- Remove dev code.
Version 1.5.0
- Update translations to escape strings.
- Update azurecurve menu and logo.
Version 1.4.0
- Refactor settings page to be accessible using jQuery UI Tabs.
Version 1.3.0
- Add integration with Toggle Show/Hide from azurecurve for read more toggle in announcements.
- Add uninstall function.
- Refactor settings page.
- Compress banners, icons and screenshots.
- Fix To Twitter integration check.
Version 1.2.3
- Remove extraneous code.
Version 1.2.2
- Fix incorrect default options.
Version 1.2.1
- Fix bug with To Twitter checked.
Version 1.2.0
- Add integration with To Twitter from azurecurve for automatic tweeting and retweeting of announcements.
- Fix bug with population of default options.
Version 1.1.1
- Fix incorrect Download link.
Version 1.1.0
- Update handling of announcement image in widget.
- Add default size for announcement image in widget.
Version 1.0.1
- Fix bug with excerpt label changing for all post types, not just the custom post type.
Version 1.0.0
- Initial release.
Other Notes
About azurecurve
azurecurve was one of the first plugin developers to start developing for ClassicPress; all plugins are available from azurecurve Development and are integrated with the Update Manager plugin for fully integrated, no hassle, updates.
The plugins available from azurecurve are:
- Add Open Graph Tags - details / download
- Add Twitter Cards - details / download
- Avatars - details / download
- BBCode - details / download
- Breadcrumbs - details / download
- Broken Links - details / download
- Call-out Boxes - details / download
- Chroma - details / download
- Code - details / download
- Comment Validator - details / download
- Conditional Links - details / download
- Contact Forms - details / download
- Disable FLoC - details / download
- Display After Post Content - details / download
- Estimated Read Time - details / download
- Events - details / download
- Feed to Post - details / download
- Filtered Categories - details / download
- Flags - details / download
- Floating Featured Image - details / download
- Get GitHub File - details / download
- Icons - details / download
- Image Optimiser - details / download
- Images - details / download
- Insult Generator - details / download
- Load Admin CSS - details / download
- Loop Injection - details / download
- Lorem Ipsum Generator - details / download
- Maintenance Mode - details / download
- Markdown - details / download
- Nearby - details / download
- Page Index - details / download
- Post Archive - details / download
- Quiz Engine - details / download
- Read GitHub File - details / download
- Redirect - details / download
- Remove Revisions - details / download
- RSS Feed - details / download
- RSS Suffix - details / download
- Series Index - details / download
- Shortcodes in Comments - details / download
- Shortcodes in Widgets - details / download
- SMTP - details / download
- Snippets - details / download
- String Inspector - details / download
- Strong Password Generator - details / download
- Tag Cloud - details / download
- Taxonomy Index - details / download
- Taxonomy Order - details / download
- Theme Switcher - details / download
- Timelines - details / download
- Toggle Show/Hide - details / download
- Update Admin Menu - details / download
- URL Shortener - details / download
- Username Protection - details / download
- View Counter - details / download
- Widget Announcements - details / download
Releases
20 releases. Each count is every asset in that release; expand a row for the breakdown.
Active-site estimate ≈20 comes from the median of recent superseded releases. Method.