Changeset 3389502
- Timestamp:
- 11/04/2025 09:22:04 AM (2 weeks ago)
- Location:
- fm-notification-bar/trunk
- Files:
-
- 3 edited
- admin/settings.php (modified) (3 diffs)
- notification-bar.php (modified) (3 diffs)
- readme.txt (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
fm-notification-bar/trunk/admin/settings.php
r1798849 r3389502 8 8 9 9 function fm_notification_bar_settings() { 10 add_options_page('WordPress Notification Bar Setting', ' Notification Bar', 'manage_options', 'fm-notification-bar', 'fm_notification_bar_init');10 add_options_page('WordPress Notification Bar Setting', 'Simple Notification Bar', 'manage_options', 'simple-notification-bar', 'fm_notification_bar_init'); 11 11 } 12 12 … … 16 16 ?> 17 17 <div> 18 <h2 class="smsb_pluginheader"><?php _e("FM Notification Bar - Settings", fm_notification_bar); ?></h2>19 <?php _e("<p>You are using Wordpress: ".$wp_version." and Fee Version of Notification Bar: ". fm_notification_bar_version."</p>", fm_notification_bar); ?>18 <h2 class="smsb_pluginheader"><?php _e("FM Notification Bar - Settings", Simple_Notification_Bar_name); ?></h2> 19 <?php _e("<p>You are using Wordpress: ".$wp_version." and Fee Version of Notification Bar: ".Simple_Notification_Bar_version."</p>", Simple_Notification_Bar_name); ?> 20 20 21 21 <form method="post" action="options.php"> … … 75 75 </table> 76 76 <p> </p> 77 <p><input type="submit" name="Submit" class="button-primary" value="<?php _e("Save Changes", fm_notification_bar); ?>"></p>77 <p><input type="submit" name="Submit" class="button-primary" value="<?php _e("Save Changes", Simple_Notification_Bar_name); ?>"></p> 78 78 </form> 79 79 </div> -
fm-notification-bar/trunk/notification-bar.php
r3056030 r3389502 1 1 <?php 2 2 /* 3 * Plugin Name: Notification Bar3 * Plugin Name: Simple Notification Bar 4 4 * Plugin URI: https://www.premtiwari.in/ 5 * Description: Notification Bar is a quick and easy notification bar and call to action for your site.6 * Version: 1.0. 25 * Description: It is a simple Sticky Notification Bar is a quick and easy notification bar and call to action for your site. 6 * Version: 1.0.3 7 7 * Author: Prem Tiwari 8 8 * Author URI: https://www.premtiwari.in/ … … 11 11 if (!defined('ABSPATH')){ exit; } 12 12 13 // Define plugin name 14 define(' fm_notification_bar', 'FMNotification Bar');13 // Define plugin name and version. 14 define('Simple_Notification_Bar_name', 'Simple Notification Bar'); 15 15 16 // Define plugin version 17 define('fm_notification_bar_version', '1.0.0'); 16 define('Simple_Notification_Bar_version', '1.0.3'); 18 17 19 20 if (is_admin()) { 18 if ( is_admin() ) { 21 19 include_once('admin/settings.php'); 22 20 } … … 24 22 $fmnb_options = get_option('fmnb_settings'); 25 23 26 add_action('admin_head', 'fm_ extra_fee_style');24 add_action('admin_head', 'fm_admin_style'); 27 25 add_action('wp_head', 'fm_notification_bar_style'); 28 26 29 function fm_ extra_fee_style() {30 wp_enqueue_style('fm_admin_style',plugins_url("css/admin.css",__FILE__) );27 function fm_admin_style() { 28 wp_enqueue_style('fm_admin_style',plugins_url("css/admin.css",__FILE__), array(), Simple_Notification_Bar_version); 31 29 } 32 30 33 31 function fm_notification_bar_style() { 34 wp_enqueue_style('fm_font_awesome', 'https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');35 wp_enqueue_style('fm_notification_bar_style', plugins_url("css/style.css",__FILE__));32 wp_enqueue_style('fm_font_awesome', 'https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css', array(), Simple_Notification_Bar_version); 33 wp_enqueue_style('fm_notification_bar_style', plugins_url('css/style.css', __FILE__), array(), Simple_Notification_Bar_version); 36 34 } 37 35 -
fm-notification-bar/trunk/readme.txt
r3056030 r3389502 1 === Notification Bar - Top Bar - Easy Sticky Notification Bar | FMNotification Bar ===2 Contributors: freewebmentor , niravmehta91 === Simple Notification Bar === 2 Contributors: freewebmentor 3 3 Tags: message, floating bar, notice, notification, sticky header, special offer bar, discount offer bar, notification bar 4 4 Requires at least: 3.0.1 5 Tested up to: 6. 45 Tested up to: 6.8 6 6 Stable tag: trunk 7 7 License: GPLv3 8 8 License URI: http://www.gnu.org/licenses/gpl-3.0.html 9 9 10 FMNotification Bar is a quick and easy notification bar and call to action for your site.10 Simple Notification Bar is a quick and easy notification bar and call to action for your site. 11 11 12 12 == Description == … … 14 14 [Homepage](https://www.premtiwari.in/) | [Documentation](https://wordpress.org/plugins/fm-notification-bar/installation/) | [Support](https://wordpress.org/support/plugin/fm-notification-bar/reviews/#new-post) 15 15 16 **FM Notification Bar** is a quick and easy notification bar and call to action for your site, which is perfect for marketing promotions, increasing click through rate and somuch more.16 It is a quick and simple notification bar plugin and call-to-action tool for your website, perfect for marketing promotions, increasing click-through rates, and much more. 17 17 18 You can place the **Notification Bar** at the header area of your website to display about your new releases, offers, messages, news, and etc to your websitevisitors.18 You can place it in the header section of your website to display new releases, offers, messages, news, and other important updates to your visitors. 19 19 20 20 … … 24 24 * Lightweight 25 25 * Custom message and call to action button 26 * S tickyNotification Bar26 * Simple Notification Bar 27 27 * Change background color of Notification Bar to match your site 28 28 * No coding knowledge required … … 31 31 32 32 All the above features can be easily configured via admin panel. You have full control over the entire bar from the message, button text, button hyperlink url, and Notification Bar background color. 33 34 33 35 34 = Feedback = … … 59 58 * Compatible 60 59 * Support multisite 60 61 = 1.0.3 = 62 * Compatible 63 * minor changes
Note: See TracChangeset for help on using the changeset viewer.