=== Plugin Name ===
Contributors: rfgoetz
Donate link: N/A
Tags: topbar, header bar,beforesite, heads up, heads up bar,attention, quick notice, bar, notification bar, popup, self promotion, toolbar, top of the page, plugin, important, message
Requires at least: 3.2.1
Tested up to: 3.3
Stable tag: 1.2.2
Creates a TopBar that will be shown at the top of your website. Customizable and easy to change the color, text, image, and link. Live preview!
== Description ==
Creates a TopBar that will be shown at the top of your website. Customizable and easy to change the color, text, image, and link. Live preview to see your TopBar from the Options page.
Version 1.4 adds additional CSS options (margin). With this update, it may change how your TopBar looks if you were using a previous version. So test it carefully on your beta site! Version 1.4 works with WordPress 3.3.
Version 1.3 adds navigation buttons and allows for more control over the custom CSS.
Three new features with version 1.2:
- Set a background image, instead of a background color. With a toggle to turn that on or off. I've included a sample image for you to try on your website: wp-topbar_sample_image.jpg.
- Set custom CSS for the message and the link text
- Set how to align the text: left, center or right
Various options allow you to:
- Enable/disable the TopBar without disabling the plugin.
- Enter the amount of time (in milliseconds) for the TopBar to appear. Enter 0 for no delay.
- Enter the amount of time (in milliseconds) for the TopBar to take to slide down on the page. Enter 0 for no delay.
- Enter the height of the border. Default is 3px.
- Enter the top padding. Default is 8px.
- Enter the bottom padding. Default is 8px.
- Enter the top margin. Default is 0px.
- Enter the bottom margin. Default is 0px.
- Enter the font size. Default is 14px.
- Align the text: left, center or right. Default is Center.
- Enter the IDs of the pages and posts that you want the TopBar to appear on, separated by commas. The TopBar will only be shown on those pages. Leave blank or enter 0 to show the TopBar on all pages. e.g. 1,9,39,10
Set the color of the:
- The Bar
- The bottom border of the Bar
- The Message
- The Link
Enter custom CSS for the:
- The Bar
- The Message
Has separate fields for the:
- Message
- Link Text
- Link
- Background Image
== Installation ==
This section describes how to install the plugin and get it working.
1. Upload all files in `wp-topbar.zip` to the `/wp-content/plugins/wp-topbar` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Configure the options
4. Make sure to set "Enable" to yes to see the plugin on your website.
I've included a sample image for you to try on your website: wp-topbar_sample_image.jpg.
== Frequently Asked Questions ==
= What CSS ID's are available? =
Use "#topbar"
= What if I don't want to slide the page down when the TopBar appears? =
You can try adding this to your CSS (thanks to douglaskarr). It replaces the top part of your webpage with the TopBar:
#topbar {
position:fixed;
top: 0;
padding: 0;
margin: 0;
width: 100%;
z-index: 99999;
}
= How dow I uninstall? =
Scroll to the delete section or click the Delete Settings button at the top of the page.
Hit the Delete Settings Button.
Click "OK" on the warning box.
Go to your Plugins page and delete the plugin or delete all the files in your `/wp-content/plugins/wp-topbar` directory
== Upgrade Notice ==
= 1.4 =
This version provides even more control over how the TopBar is placed. Test is carefully on your beta site before upgrading.
== Screenshots ==
1. This is how it will look on your website.
2. This is the full options page.
3. Preview section.
4. Options section.
5. Custom CSS Options section.
6. TopBar Text, Image & Link Options section - plus the uninstall option.
== Changelog ==
= 1.4 - 12/10/2011 =
Added options to change the margin of the TopBar.
Cleaned up the code.
Validated it works with 3.3.
= 1.3 - 12/05/2011 =
Added easier navigation buttons. Added more space to the CSS section.
Added code to allow you to use quotes in your text.
Added to the output.
= 1.2.1 - 10/08/2011 =
Minor fix to allow settings page to display correctly.
= 1.2 - 10/08/2011 =
Add image background, custom css, and text alignment.
= 1.1 - 10/07/2011 =
Cleaned up the code to make the TopBar be invisible upon first load.
= 1.0 - 9/25/2011 =
Initial public version