WPFront Notification Bar - Version 1.0.1

Version Description

  • A couple of bug fixes.
Download this release

Release Info

Developer syammohanm
Plugin Icon 128x128 WPFront Notification Bar
Version 1.0.1
Comparing to
See all releases

Code changes from version 1.0 to 1.0.1

css/wpfront-notification-bar.css CHANGED
@@ -62,7 +62,6 @@
62
  #wpfront-notification-bar table, #wpfront-notification-bar tbody, #wpfront-notification-bar tr
63
  {
64
  margin: auto;
65
- height: 100%;
66
  border: 0px;
67
  padding: 0px;
68
  }
62
  #wpfront-notification-bar table, #wpfront-notification-bar tbody, #wpfront-notification-bar tr
63
  {
64
  margin: auto;
 
65
  border: 0px;
66
  padding: 0px;
67
  }
js/wpfront-notification-bar.js CHANGED
@@ -22,8 +22,10 @@
22
  spacer.insertBefore(bar);
23
 
24
  var height = bar.height();
25
- if (data.height > 0)
26
  height = data.height;
 
 
27
 
28
  bar.height(0).css({"display": "block", "position": (data.fixed_position ? "fixed" : "relative"), "visibility": "visible"});
29
 
22
  spacer.insertBefore(bar);
23
 
24
  var height = bar.height();
25
+ if (data.height > 0) {
26
  height = data.height;
27
+ bar.find("table, tbody, tr").css("height", "100%");
28
+ }
29
 
30
  bar.height(0).css({"display": "block", "position": (data.fixed_position ? "fixed" : "relative"), "visibility": "visible"});
31
 
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === WPFront Notification Bar ===
2
  Contributors: syammohanm
3
  Donate link: http://wpfront.com/donate/
4
- Tags: notification bar, wordpress notification bar, top bar, bottom bar, notification, bar, quick bar, fixed bar, sticky bar, message bar, message, floating bar, notice, sticky header, special offer, discount offer, offer, important, attention bar, highlight bar, popup bar, hellobar
5
  Requires at least: 3.0
6
  Tested up to: 3.7.1
7
- Stable tag: 1.0
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -24,6 +24,10 @@ Want to display a notification about a promotion or a news? WPFront Notification
24
  * Set the number of **seconds before auto close**.
25
  * **Colors** are fully **customizable**.
26
 
 
 
 
 
27
  == Installation ==
28
 
29
  1. Click Plugins/Add New from the WordPress admin panel
@@ -46,13 +50,21 @@ No one has asked anything yet.
46
  2. Bar on bottom.
47
  3. Settings page.
48
 
 
49
  == Changelog ==
50
 
 
 
 
51
  = 1.0 =
52
  * Initial release
53
 
54
  == Upgrade Notice ==
55
 
 
 
 
56
  = 1.0 =
57
  * Initial release
58
 
 
1
  === WPFront Notification Bar ===
2
  Contributors: syammohanm
3
  Donate link: http://wpfront.com/donate/
4
+ Tags: notification bar, wordpress notification bar, top bar, bottom bar, notification, bar, quick bar, fixed bar, sticky bar, message bar, message, floating bar, notice, sticky header, special offer, discount offer, offer, important, attention bar, highlight bar, popup bar, hellobar, heads up, heads up bar, headsup, headsupbar, popup, Toolbar
5
  Requires at least: 3.0
6
  Tested up to: 3.7.1
7
+ Stable tag: 1.0.1
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
24
  * Set the number of **seconds before auto close**.
25
  * **Colors** are fully **customizable**.
26
 
27
+ Visit [WPFront Notification Bar Ideas](http://wpfront.com/notification-bar-plugin-ideas/) page for some useful functionalities.
28
+
29
+ Visit [WPFront Notification Bar Settings](http://wpfront.com/notification-bar-plugin-settings/) page for detailed option descriptions.
30
+
31
  == Installation ==
32
 
33
  1. Click Plugins/Add New from the WordPress admin panel
50
  2. Bar on bottom.
51
  3. Settings page.
52
 
53
+
54
  == Changelog ==
55
 
56
+ = 1.0.1 =
57
+ * A couple of bug fixes.
58
+
59
  = 1.0 =
60
  * Initial release
61
 
62
  == Upgrade Notice ==
63
 
64
+ = 1.0.1 =
65
+ * Fixed an issue with CSS conflicting with some themes
66
+
67
  = 1.0 =
68
  * Initial release
69
 
70
+
templates/options-template.php CHANGED
@@ -38,7 +38,7 @@
38
  <?php @settings_fields(WPFront_Notification_Bar::OPTIONS_GROUP_NAME); ?>
39
  <?php @do_settings_sections(WPFront_Notification_Bar::OPTIONSPAGE_SLUG); ?>
40
 
41
- <?php if ($_GET['settings-updated'] == 'true' || $_GET['updated'] == 'true') { ?>
42
  <div class="updated">
43
  <p>
44
  <strong><?php echo $this->__('If you have a caching plugin, clear the cache for the new settings to take effect.'); ?></strong>
38
  <?php @settings_fields(WPFront_Notification_Bar::OPTIONS_GROUP_NAME); ?>
39
  <?php @do_settings_sections(WPFront_Notification_Bar::OPTIONSPAGE_SLUG); ?>
40
 
41
+ <?php if ((isset($_GET['settings-updated']) && $_GET['settings-updated'] == 'true') || (isset($_GET['updated']) && $_GET['updated'] == 'true')) { ?>
42
  <div class="updated">
43
  <p>
44
  <strong><?php echo $this->__('If you have a caching plugin, clear the cache for the new settings to take effect.'); ?></strong>
wpfront-notification-bar.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: WPFront Notification Bar
4
  * Plugin URI: http://wpfront.com/notification-bar-plugin/
5
  * Description: Easily lets you create a bar on top or bottom to display a notification.
6
- * Version: 1.0
7
  * Author: Syam Mohan
8
  * Author URI: http://wpfront.com
9
  * License: GPL v3
3
  * Plugin Name: WPFront Notification Bar
4
  * Plugin URI: http://wpfront.com/notification-bar-plugin/
5
  * Description: Easily lets you create a bar on top or bottom to display a notification.
6
+ * Version: 1.0.1
7
  * Author: Syam Mohan
8
  * Author URI: http://wpfront.com
9
  * License: GPL v3