Title: Announcement Bar
Author: Austin
Published: <strong>2011-08-02</strong>
Last modified: 2015-04-23

---

Szukaj wtyczek

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

Wtyczka **nie została przetestowana z trzema ostatnimi głównymi wydaniami WordPressa**.
Może nie być już utrzymywana lub obsługiwana, co może skutkować problemem ze zgodnością
z nowszymi wersjami WordPressa.

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

# Announcement Bar

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

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

 * [Szczegóły](https://pl.wordpress.org/plugins/announcement-bar/#description)
 * [Recenzje](https://pl.wordpress.org/plugins/announcement-bar/#reviews)
 *  [Instalacja](https://pl.wordpress.org/plugins/announcement-bar/#installation)
 * [Rozwój](https://pl.wordpress.org/plugins/announcement-bar/#developers)

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

## Opis

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. ….

## Zrzuty ekranu

[⌊The settings page.⌉⌊The settings page.⌉[

The settings page.

[⌊The edit post page.⌉⌊The edit post page.⌉[

The edit post page.

[⌊The add post page.⌉⌊The add post page.⌉[

The add post page.

[⌊The drop-down bar.⌉⌊The drop-down bar.⌉[

The drop-down bar.

## Instalacja

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.

## Najczęściej zadawane pytania

### I am getting a 404 error?

Please visit your permalinks settings page after activating the plugin.

## Recenzje

![](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/) 2018-08-17 1 odpowiedź

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/) 2016-11-14

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.

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

## Kontrybutorzy i deweloperzy

„Announcement Bar” jest oprogramowaniem open source. Poniższe osoby miały wkład 
w rozwój wtyczki.

Zaangażowani

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

[Przetłumacz wtyczkę “Announcement Bar” na swój język.](https://translate.wordpress.org/projects/wp-plugins/announcement-bar)

### Interesuje cię rozwój wtyczki?

[Przeglądaj kod](https://plugins.trac.wordpress.org/browser/announcement-bar/), 
sprawdź [repozytorium SVN](https://plugins.svn.wordpress.org/announcement-bar/) 
lub czytaj [dziennik rozwoju](https://plugins.trac.wordpress.org/log/announcement-bar/)
przez [RSS](https://plugins.trac.wordpress.org/log/announcement-bar/?limit=100&mode=stop_on_copy&format=rss).

## Rejestr zmian

= 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

 *  Wersja **0.4.1**
 *  Ostatnia aktualizacja **11 lat temu**
 *  Włączone instalacje **3,000+**
 *  Wersja WordPressa ** 3.2 lub nowszej **
 *  Testowano do **4.2.39**
 *  Język
 * [English (US)](https://wordpress.org/plugins/announcement-bar/)
 * Tagi
 * [admin](https://pl.wordpress.org/plugins/tags/admin/)[announcement](https://pl.wordpress.org/plugins/tags/announcement/)
   [announcement bar](https://pl.wordpress.org/plugins/tags/announcement-bar/)[bar](https://pl.wordpress.org/plugins/tags/bar/)
   [stats](https://pl.wordpress.org/plugins/tags/stats/)
 *  [Widok zaawansowany](https://pl.wordpress.org/plugins/announcement-bar/advanced/)

## Oceny

 1 na 5 gwiazdek.

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

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

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

## Zaangażowani

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

## Wsparcie

Masz coś do dodania? Potrzebujesz pomocy?

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

## Złóż datek

Czy chcesz wesprzeć rozwój wtyczki?

 [ Wspomóż wtyczkę ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=VDD3EDC28RAWS)