Announcement Bar
A fixed position (header) HTML with jQuery drop-down announcement bar using Custom Post Types.





Overview
Compatibility
Installation instructions
Customer support & learning resources
Changelog
Main benefits
Fixed top announcement bar
Custom post type prefix
Cookie-based bar position
Simple HTML and JavaScript
Link click tracking
About this plugin
Author: Austin
Categories: Widgets and Sidebars
Version: 0.4.1
Last updated: 23-04-2015
WordPress version: 3.2
Tested up to: 4.2.38
PHP version required: false
Languages:
Tags:
Learning resources: View resources
Overview
This WordPress plugin enhances your website by displaying a fixed announcement bar at the top of the browser screen, which is controlled by a custom post type (CPT). Built using simple HTML and JavaScript, the plugin adds a jQuery file to manage this feature seamlessly across page loads. Users can choose a prefix for their post types during installation, a decision that cannot be altered post-publication. The plugin also integrates a cookie system to remember the bar's open or closed state based on the user's last interaction. Future updates are planned to introduce more customizations, such as post-specific and page-specific settings, as well as enhanced toggle options. This tool is ideal for website owners looking to highlight important announcements efficiently and effectively.
Fixed Announcement Bar
- Positions a fixed bar at the top of the browser screen.
- Displays announcements controlled by a custom post type (CPT).
- Visible on each page load.
Custom Post Type Prefix
- Allows choosing a prefix for your post type upon installation.
- Prefix cannot be changed after the first post is published.
Cookie-Based Bar Position
- Saves the bar's position using cookies.
- Restores the bar's position based on the last state when revisiting the site.
Link Tracking and Permalinks
- Requires non-HTML text content and a link in the link field.
- Counts clicks on the provided permalink.
- Defaults to the home page if the link is missing.