
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://austinpassy.com
The Link
Please be awware 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 againts the counter. If you’re getting 404 issues when visiting the permalink page, please refer to the FAQ section.
Download
Latest version: Download Announcement Bar v0.3.2 [[zip]] (Downloaded: 7126 times)
FAQ
I am getting a 404 error?
Please visit your permalinks settings page after activating the plugin.
Changelog
- 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 casuing 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 minimun install requirements.
- Updated
- 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.phpand useclass-simplepie.php
- Updated the feed parser to comply with deprecated
- Version 0.1.1 (12/23/10)
-
- Update CSS
z-indexfor WordPress 3.1 admin-bar.
- Update CSS
- Version 0.1 (12/21/10)
-
- Readme.txt file updated a bit.
POTfile added to languages.
- Readme.txt file updated a bit.
- Version 0.09 (12/20/10)
-
post_typeannouncementbar 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_showingto work only with WP 3.1 or greater. - Couldn’t find
wp-load.phpto create dynamic CSS.
- Fixed issue with
- Version 0.05 (12/19/10)
-
- Fixed issue with
slugstuck in readonly setting.
- Fixed issue with
- 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.




I’M SORRY, MY ENGLISH NOT GOOD!!!
How to configure the plugin? What content can I put this bar?
I installed, but how do I insert the contents?
Just create a post in the “Hello Bar” post type. But be sure to visit the settings page to activate the plugin.
I’m sorry for my english 2.
Ok, so how can I make it not allways open.
I mean can you update it with these options:
1. When page opens, bar stays closed
2. I can choose on which page, which text I wanna be seen.
3. I can choose if someone had clicked on it , it is shown no more (for 24 perhaps)
4. And last please make it work with HTML
It’ll be the best plugin ever
No problem. I’ve got that in the works for future releases to use a cookie to keep the drop down or up state in effect. I’ll can look into an option to only allow on certain pages, and it is written with HTML.
edit: 24hours I meant :p sry
Hello
After i installed the plugin and configured it, after creating new bar, when i preview it i get the 404 not found page .. so why is that ?
You need to visit your permalinks page.
Got the error
postboxes is not defined
[Break On This Error] postboxes.add_postbox_toggles( ‘settings_page_hellos-bar’ );
after I created a post and returned to the options page.
Try to upgrade to the recent version. I found a small bug, and sent in an update last night.
After leaving options page and coming back o it.
Warning: array_slice() expects parameter 1 to be array, null given in /home/content/92/7070592/html/wp-content/plugins/hellos-bar/admin/admin.php on line 670
It works, but would be so much cleaner if you accepted inline html rather than text in the post and html in a separate tag. I end up with this as the hello bar text:
Check out PageLines — WordPress Themes for Professional Websites!
Instead of the html being hidden in a link. This would be so much cleaner.
Ok, now I’m confused. The second option works, with the entire text used as an html link, but on the plugin post page, there is distinct text for the Content section that says this: Please enter your plain text content here. (No HTML allowed)
and distinct text for the Link field: This URL has been accessed 0 times.
Final comment… until I think of another one. It’s working, except that it only handles a single post. I added a second post for a second affiliate, and now it only displays that second post and ignores the first one.
I think you need to add logic to rotate or randomly pick posts, plus perhaps a checkbox on each post to make it active/inactive (display/not display).
Great work so far!
It is on random. Working on future release with on/off toggle for each post.
Seems to be a great plugin… just downloaded… thanks for this gr8 job…
So far, so good – running 0.1 on WP 3.0.3.
I’d echo the suggestions of having options to have it show x times per visitor (like the WWSGD plugin), and allow inline HTML.
Looks like you’re on track to a really sweet plugin, here – thanks for sharing!
Hah.. right on man… good plugin.
Maybe have the ability to add a little icon to the left of the bar like hellobar has? Perhaps I’ll just mod it accordingly.
Not sure I understand. They have there icon to the left, that’s what I did.
as you can clearly tell by now, I didn’t actually install the plugin
I looked at your description and quickly assessed that you didn’t mention a logo in it therefore dropping my comment as is. And I don’t see a logo on your bar on this page so… assumptions ya know?
But good plugin none-the-less
Currently not using it on my site. Just on test sites like http://wpwag.com
Hi Austin,
Great script! How can I customize the bar background to a pattern that matches by footer style.
THKS
I just love this idea it is best feature can’t wait to introduce it to my clients.
Hello mate, Thanks for this nice plugin.
I have installed and activated it on my site: http://npxp.com/
The bar is not showing up at all! I did exactly what was told in the instructions. Do I have to edit something??
Have you activated it in the setting page, and/or create a hellos message?
Tienes para la version 2.9.2 de WP ?
No.
Erm, I am running, or rather, trying to run Hellos Bar v 0.1.3 on a WP 3.1 install and I have disabled the WP Admin bar using the Custom Admin bar (to make space for the Hellos bar) but all I see is a huge black box!
http://awesomescreenshot.com/0668ag0da
I checked the source code of the page, and I can see the hellos bar div and the hellos-bar post, but all that appears is the huge black box – which drops down with nice animation, BTW.
Also, to which side does the toggle switch on the options page need to be for the hellos-bar to be ON? Right now, I can’t figure out because it looks like this:
http://awesomescreenshot.com/0538ag6c0
All in all, thanks a zillion for your time and efforts! Without people like you, n00bs like us wouldn’t be pestering you..
Cheers!
Is the Hellos Script available as HTML, jQuery, PHP?
Want to build in my HTML Website
This is a WordPress plugin only, try Hello Bar.
I downloaded the latest version, but it seems like the text appear below the box.
http://imgur.com/9dH5Z
You might have some CSS in your theme that is conflicting with the plugin. You may want to check out the source code with firebug.
I found the problem, and it is actually in the css.php file. You have the line-height set to the value of the bar height, which is causing the text to offset.
I manually-edited the value and now it displays correctly.
Austin, you say on the 404 error to check the permalinks settings. What are you referring to? I check my permalink settings and all is fine. What exactly am I to look for? It appears as if the link is attempting to go to the post-page for the announcement instead of the entered link. Suggestions?
Try to add this into Custom CSS : .announcement{line-height:10px !important}
Is their a way to remove the hellos bar from being shown in the title in the browser tabs when any page in the blog is opened
Not sure I understand your question.
If I want to put a short code into this bar would it work? Meaning: I use the “simple facebook connect” plugin which can be called using a short code. I’m curious if the short code would fire off in this bar. Could be a good use for sure.
I’m not sure it would, but I could activate that feature.
Hello, I have installed the Hello bar in my website, and I can not activate the bar. I move the button left and right and nothing. The box stays red. I thought there would be a JavaScript error, but there was none. I though that may be if I disconnect all plugins but this one and nothing. I refreshed the permalinks, re-save them. And nothing. I got only one plugin, this one, I have nothing else running, YET, I can not get it up… (pun intended). Please help me.
Is there a way to have the Announcement Bar start in the down position? This should be the default or at least a setting in options. How will anyone know there is an announcement otherwise?
Hello Sir,
My annoucement bar stopped working after I moved to a new host. I believe it’s due to the css.php portion not properly parsing as it still loads the bar but only at the bottom of the page and with no css on it.
Please help. Thanks for releasing such an awesome plugin, it works great with WPML by the way.
info (a) OnlineChessLessons . NET
+1 to Todd’s question. Is there anyway to show it in the down position the first time it loads? The arrow icon is not very eye-catching and visitors may not realize it.
Is it possible to make the default (Open) instead of Close?