Title: Announcement Bar
Author: Austin
Published: <strong>August 2, 2011</strong>
Last modified: April 23, 2015

---

Search plugins

![](https://ps.w.org/announcement-bar/assets/banner-772x250.png?rev=843267)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/announcement-bar/assets/icon.svg?rev=1128433)

# Announcement Bar

 By [Austin](https://profiles.wordpress.org/austyfrosty/)

[Download](https://downloads.wordpress.org/plugin/announcement-bar.zip)

 * [Details](https://wordpress.org/plugins/announcement-bar/#description)
 * [Reviews](https://wordpress.org/plugins/announcement-bar/#reviews)
 *  [Installation](https://wordpress.org/plugins/announcement-bar/#installation)
 * [Development](https://wordpress.org/plugins/announcement-bar/#developers)

 [Support](https://wordpress.org/support/plugin/announcement-bar/)

## Description

This plugin adds a jQuery file that will position a fixed bar at the top of your
browser screen to show announcements (controlled by a custom post type [CPT]) on
each page load. Built with simple HTML and javascript.

Upon installation, you can choose the prefix for your post type. Be sure to choose
wisely, because once you publish your first post this can’t be changed. If you are
having problems with redirects visit your _permalinks_ page to flush your rewrite
rules by visiting your permalinks settings page (no save needed).

**New**: A cookie is added and deleted when you toggle the bar open and closed. 
Depending on the position of the bar when you leave the page is where it will be
when you re-visit the site.

For question please visit my blog @ [http://austin.passy.co](http://austin.passy.co/wordpress-plugins/announcement-bar/)

**The Link**
 Please be aware when publishing a post, as of right now, you have 
to fill in the content with non-html text and add a link into the link field. This
link is really the permalink and is what gets counted when clicked on. It will also
revert to the home page if missing, and not count against the counter. If you’re
getting 404 issues when visiting the permalink page, please refer to the FAQ section.

### Future Releases

This plugin is brand new and has some future planes.

 1. Saved bar position with cookie settings.
 2. Post and page per post ID.
 3. Per post on/off toggle.
 4. ….

## Screenshots

 * [[
 * The settings page.
 * [[
 * The edit post page.
 * [[
 * The add post page.
 * [[
 * The drop-down bar.

## Installation

Follow the steps below to install the plugin.

 1. Upload the `announcement-bar` directory to the /wp-content/plugins/ directory. 
    OR click add new plugin in your WordPress admin.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Go to Announcement Bar settings to edit your settings.

## FAQ

  I am getting a 404 error?

Please visit your permalinks settings page after activating the plugin.

## Reviews

![](https://secure.gravatar.com/avatar/fb5a9796c12eedcc288395e676dbf91baa148fc6a234a9a83b7655caff25735c?
s=60&d=retro&r=g)

### 󠀁[Garbage messes up header](https://wordpress.org/support/topic/garbage-messes-up-header/)󠁿

 [raisingsails](https://profiles.wordpress.org/raisingsails/) August 17, 2018 1 
reply

It will show up on every page and jack up your header.

![](https://secure.gravatar.com/avatar/2a4edeff4b08083a5affbc6f90f7ba5c82961c8f669625e3a6f90735c15af397?
s=60&d=retro&r=g)

### 󠀁[Doesn’t work with Twenty Sixteen Theme](https://wordpress.org/support/topic/doesnt-work-with-twenty-sixteen-theme/)󠁿

 [coderkevin](https://profiles.wordpress.org/coderkevin/) November 14, 2016

I see the HTML in the source, but it doesn’t show up visually for the Twenty Sixteen
default theme and other themes that I tested.

 [ Read all 3 reviews ](https://wordpress.org/support/plugin/announcement-bar/reviews/)

## Contributors & Developers

“Announcement Bar” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Austin ](https://profiles.wordpress.org/austyfrosty/)

[Translate “Announcement Bar” into your language.](https://translate.wordpress.org/projects/wp-plugins/announcement-bar)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/announcement-bar/),
check out the [SVN repository](https://plugins.svn.wordpress.org/announcement-bar/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/announcement-bar/)
by [RSS](https://plugins.trac.wordpress.org/log/announcement-bar/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

= Version 0.4.1 (04/23/15)

 * Fix unexpected error during activation.

= Version 0.4 (12/17/14)

 * LOTS of code cleanup.
 * Fix basic PHP notices.
 * Ready for WordPress 4.1.

= Version 0.3.2 (12/3/12)

 * Updated Dashboard
 * Removed PHP4 support

= Version 0.3.1.1 (02/16/12)

 * Updated `register_uninstall_hook`.

= Version 0.3.1 (11/8/11)

 * Feeds updates.
 * WordPress 3.3 check

#### Version 0.3 (9/8/11)

 * Dashboard fix.
 * Other stuff I can’t remember.

#### Version 0.2.2 (6/23/11)

 * [BUG FIX] An error in the dashboard widget is causing some large images. Sorry.
   Always escape.

#### Version 0.2.1 (6/13/11)

 * Russian Translation files added (thanks to Elvis: http://wp.turkenichev.ru/).

#### Version 0.2 (6/1/11)

 * Complete overhaul.
 * [NEW] Now saves bar position with cookies.
 * Added backwords compatibility for jQuery < 1.6.x.
 * [NEW] Add your own custom CSS.

#### Version 0.1.5 (5/16/11)

 * Updated `.attr()` to `.prop()` for jQuery 1.6.x. New minimum install requirements.

#### Version 0.1.4 (3/30/11)

 * Dashboard widget updated.

#### Version 0.1.3 (2/24/11)

 * Removed javscript link causing hang-ups.

#### Version 0.1.2 (2/9/11)

 * Updated the feed parser to comply with deprecated `rss.php` and use `class-simplepie.
   php`

#### Version 0.1.1 (12/23/10)

 * Update CSS `z-index` for WordPress 3.1 admin-bar.

#### Version 0.1 (12/21/10)

 * Readme.txt file updated a bit. `POT` file added to languages.

#### Version 0.09 (12/20/10)

 * `post_type` **announcementbar** incorect on post-type.php.

#### Version 0.08 (12/20/10)

 * Bug fixes.

#### Version 0.07 (12/20/10)

 * Plugin name changed.

#### Version 0.06 (12/19/10)

 * Fixed issue with `is_admin_bar_showing` to work only with WP 3.1 or greater.
 * Couldn’t find `wp-load.php` to create dynamic CSS.

#### Version 0.05 (12/19/10)

 * Fixed issue with `slug` stuck in readonly setting.

#### Version 0.04 (12/19/10)

 * Removed scripts and styles from the admin.
 * Removed filter, used during testing.

#### Version 0.03 (12/19/10)

 * Readme update.
 * Added Custom Post Type.
 * Added options panel.
 * Added jQuery & CSS.

**TODO**

 * Check rewrite rules flushing proper on _slug_ change.
 * Better stats.

#### Version 0.02α (12/15/10)

 * Readme update.

## Meta

 *  Version **0.4.1**
 *  Last updated **11 years ago**
 *  Active installations **3,000+**
 *  WordPress version ** 3.2 or higher **
 *  Tested up to **4.2.39**
 * Tags
 * [admin](https://wordpress.org/plugins/tags/admin/)[announcement](https://wordpress.org/plugins/tags/announcement/)
   [announcement bar](https://wordpress.org/plugins/tags/announcement-bar/)[bar](https://wordpress.org/plugins/tags/bar/)
   [stats](https://wordpress.org/plugins/tags/stats/)
 *  [Advanced View](https://wordpress.org/plugins/announcement-bar/advanced/)

## Ratings

 1 out of 5 stars.

 *  [  0 5-star reviews     ](https://wordpress.org/support/plugin/announcement-bar/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/announcement-bar/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/announcement-bar/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/announcement-bar/reviews/?filter=2)
 *  [  2 1-star reviews     ](https://wordpress.org/support/plugin/announcement-bar/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/announcement-bar/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/announcement-bar/reviews/)

## Contributors

 *   [ Austin ](https://profiles.wordpress.org/austyfrosty/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/announcement-bar/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=VDD3EDC28RAWS)