The WordPress theme I’m currently using has a default announcement feature that displays announcements on the homepage. However, sometimes I don’t want to display them on the homepage but rather on a specific category.

I looked for announcement plugins, but some couldn’t achieve the functionality I wanted, and others were too bulky with many features I didn’t need.

So, I created a simple custom plugin with the following features:

  1. Announcement settings support HTML code, with image dimensions needing manual adjustment.
  2. Options to display on the homepage, specific categories, specific pages, or throughout the site.
  3. Option to display on article pages as well.
  4. Option to display within the selected category.
  5. Customizable border and button colors.

I originally intended to list it on the WordPress official plugin directory, but the lengthy review process made me give up on that.

The plugin code is open source and includes some comments, so you can modify it as needed.

Plugin Name: WPCAnnouncements

Plugin Screenshots: