{"id":413225,"date":"2026-11-27T04:19:52","date_gmt":"2026-11-27T04:19:52","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/mytop-notification-bar\/"},"modified":"2026-11-27T04:19:31","modified_gmt":"2026-11-27T04:19:31","slug":"mytop-notification-bar","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/mytop-notification-bar\/","author":15377746,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"7.1.5","requires":"6.3","requires_php":"7.4","requires_plugins":null,"header_name":"MyTop Notification Bar","header_author":"Jumedeen Khan","header_description":"Add notification bar, announcement, promo, offer and countdown timer to your website.","last_updated":"2026-11-27 04:19:31","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/buymeacoffee.com\/jumedeenkhan","header_plugin_uri":"https:\/\/mytopbar.com\/","header_author_uri":"https:\/\/mytopbar.com\/about\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":0,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"jumedeenkhan","date":"2026-11-27 04:19:31","revision":3828664}},"upgrade_notice":{"1.0.0":"<p>Initial release.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3828661,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-1544x500.png":{"filename":"icon-1544x500.png","revision":3828661,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3828661,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256},"icon-772x250.png":{"filename":"icon-772x250.png","revision":3828661,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250},"icon.svg":{"filename":"icon.svg","revision":3828661,"resolution":false,"location":"assets","locale":false}},"assets_banners":[],"assets_blueprints":{"blueprint.json":{"filename":"blueprint.json","revision":3828664,"resolution":false,"location":"assets","locale":"","contents":"{\"$schema\":\"https:\\\/\\\/playground.wordpress.net\\\/blueprint-schema.json\",\"landingPage\":\"\\\/wp-admin\\\/admin.php?page=mytop-bar\",\"preferredVersions\":{\"php\":\"8.3\",\"wp\":\"latest\"},\"steps\":[{\"step\":\"login\",\"username\":\"admin\",\"password\":\"password\"},{\"step\":\"installPlugin\",\"pluginData\":{\"resource\":\"wordpress.org\\\/plugins\",\"slug\":\"mytop-notification-bar\"},\"options\":{\"activate\":true}},{\"step\":\"runPHP\",\"code\":\"<?php require '\\\/wordpress\\\/wp-load.php'; $settings = \\\\MyTop\\\\NotificationBar\\\\mytop_bar_default_settings(); $settings['enabled'] = true; update_option( 'mytop_bar_settings', $settings );\"}]}"}},"all_blocks":{"mytop-bar\/notification-bar":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"mytop-bar\/notification-bar","title":"Notification Bar","category":"widgets","icon":"bell","description":"Shows the notification bar inside the page content.","keywords":["notification","bar","announcement","promo"],"textdomain":"mytop-notification-bar","supports":{"html":false,"multiple":true},"editorScript":"mytop-bar-block-editor","editorStyle":"mytop-bar-block-editor"}},"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3828661,"resolution":"1","location":"assets","locale":"","width":1414,"height":875},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3828661,"resolution":"2","location":"assets","locale":"","width":1220,"height":2288},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3828661,"resolution":"3","location":"assets","locale":"","width":1208,"height":1597},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3828661,"resolution":"4","location":"assets","locale":"","width":1202,"height":1441},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3828661,"resolution":"5","location":"assets","locale":"","width":1228,"height":1532}},"screenshots":{"1":"Ready-made notification bar themes with live preview and custom color schemes.","2":"Notification message, call-to-action settings, and display controls.","3":"Notification bar and call-to-action button style customization.","4":"Behavior settings \u2013 sticky bar, scroll triggers, and entrance animations.","5":"Scheduling, countdown timer settings, and timer boxes style customization."}},"plugin_section":[],"plugin_tags":[7553,12724,1290,15526,15525],"plugin_category":[],"plugin_contributors":[166226],"plugin_business_model":[],"class_list":["post-413225","plugin","type-plugin","status-publish","hentry","plugin_tags-announcement-bar","plugin_tags-countdown-timer","plugin_tags-notification-bar","plugin_tags-sticky-bar","plugin_tags-top-bar","plugin_contributors-jumedeenkhan","plugin_committers-jumedeenkhan"],"banners":[],"icons":{"svg":"https:\/\/ps.w.org\/mytop-notification-bar\/assets\/icon.svg?rev=3828661","icon":"https:\/\/ps.w.org\/mytop-notification-bar\/assets\/icon.svg?rev=3828661","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/mytop-notification-bar\/assets\/screenshot-1.png?rev=3828661","caption":"Ready-made notification bar themes with live preview and custom color schemes."},{"src":"https:\/\/ps.w.org\/mytop-notification-bar\/assets\/screenshot-2.png?rev=3828661","caption":"Notification message, call-to-action settings, and display controls."},{"src":"https:\/\/ps.w.org\/mytop-notification-bar\/assets\/screenshot-3.png?rev=3828661","caption":"Notification bar and call-to-action button style customization."},{"src":"https:\/\/ps.w.org\/mytop-notification-bar\/assets\/screenshot-4.png?rev=3828661","caption":"Behavior settings \u2013 sticky bar, scroll triggers, and entrance animations."},{"src":"https:\/\/ps.w.org\/mytop-notification-bar\/assets\/screenshot-5.png?rev=3828661","caption":"Scheduling, countdown timer settings, and timer boxes style customization."}],"raw_content":"<!--section=description-->\n<p>MyTop Notification Bar is a lightweight WordPress plugin for displaying announcements, offers, notices, and countdown timers at the top or bottom of your website.<\/p>\n\n<p>Create and customize your notification bar directly from the WordPress dashboard and control where, when, and to whom it appears. No coding is required.<\/p>\n\n<h4>Key Features<\/h4>\n\n<ul>\n<li><strong>Notification Bar<\/strong> \u2013 Display a notification bar at the top or bottom of your website.<\/li>\n<li><strong>Call to Action<\/strong> \u2013 Add a text link, filled button, or outline button.<\/li>\n<li><strong>Sticky Bar<\/strong> \u2013 Keep the bar visible while visitors scroll.<\/li>\n<li><strong>Countdown Timer<\/strong> \u2013 Display a customizable countdown to a specific date and time.<\/li>\n<li><strong>Scheduling<\/strong> \u2013 Set start and end dates for automatic display.<\/li>\n<li><strong>Display Rules<\/strong> \u2013 Show the bar sitewide, on the homepage, or on specific pages and posts.<\/li>\n<li><strong>User Visibility<\/strong> \u2013 Target guests, logged-in users, or specific user roles.<\/li>\n<li><strong>Dismissible Bar<\/strong> \u2013 Allow visitors to close the bar permanently or temporarily.<\/li>\n<li><strong>Auto Close<\/strong> \u2013 Automatically close the bar after a specified time.<\/li>\n<li><strong>Scroll Trigger<\/strong> \u2013 Display the bar after visitors scroll down the page.<\/li>\n<li><strong>Entrance Animations<\/strong> \u2013 Choose from fade, slide, and drop effects.<\/li>\n<li><strong>Mobile Visibility<\/strong> \u2013 Hide the bar on smaller screens.<\/li>\n<li><strong>Design Customization<\/strong> \u2013 Choose ready-made themes or customize the bar's appearance.<\/li>\n<li><strong>Custom ID and Class<\/strong> \u2013 Apply your own CSS styling.<\/li>\n<li><strong>Import &amp; Export<\/strong> \u2013 Easily back up and transfer plugin settings.<\/li>\n<li><strong>Shortcode &amp; Block<\/strong> \u2013 Display the bar within posts and pages using the <code>[mytop_bar]<\/code> shortcode or the Notification Bar block.<\/li>\n<\/ul>\n\n<h4>What Can You Create with MyTop Bar?<\/h4>\n\n<p>MyTop Notification Bar is ideal for displaying important messages, promoting offers, boosting conversions, and keeping your visitors informed.<\/p>\n\n<ul>\n<li>Website announcements and important notices.<\/li>\n<li>Promotional banners and discount offers.<\/li>\n<li>Sale countdowns and limited-time deals.<\/li>\n<li>Free shipping notifications.<\/li>\n<li>Product launches and upcoming events.<\/li>\n<li>Welcome messages and seasonal greetings.<\/li>\n<\/ul>\n\n<h4>Third-Party Libraries<\/h4>\n\n<p>MyTop Bar uses lightweight CSS and vanilla JavaScript on the frontend, with a script size of less than 5 KB. It does not depend on jQuery or any third-party libraries.<\/p>\n\n<h4>External Services<\/h4>\n\n<p>MyTop is fully self-contained and does not rely on external services or make external requests of its own. All plugin settings are stored locally in the WordPress database.<\/p>\n\n<p>A functional cookie is used to remember when a visitor dismisses the notification bar. No personal data is collected or used for tracking.<\/p>\n\n<h4>Documentation &amp; Support<\/h4>\n\n<p><a href=\"https:\/\/www.mytopbar.com\/\">Official Website<\/a> | <a href=\"https:\/\/www.mytopbar.com\/docs\/\">Documentation<\/a> | <a href=\"https:\/\/www.mytopbar.com\/support\/\">Support<\/a> | <a href=\"https:\/\/www.mytopbar.com\/contact\/\">Contact Us<\/a><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Go to Plugins &gt; Add New in your WordPress dashboard.<\/li>\n<li>Search for \"MyTop Notification Bar\".<\/li>\n<li>Install and activate the plugin.<\/li>\n<li>Open the Notification Bar settings screen.<\/li>\n<li>Configure your message, customize the bar, and enable it.<\/li>\n<\/ol>\n\n<p>Alternatively, upload the plugin ZIP file through Plugins &gt; Add New &gt; Upload Plugin.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"where%20do%20i%20configure%20the%20notification%20bar%3F\"><h3>Where do I configure the notification bar?<\/h3><\/dt>\n<dd><p>After activation, open MyTop Bar from your WordPress admin menu to configure and enable the bar.<\/p><\/dd>\n<dt id=\"does%20mytop%20work%20with%20any%20wordpress%20theme%3F\"><h3>Does MyTop work with any WordPress theme?<\/h3><\/dt>\n<dd><p>MyTop uses the standard WordPress <code>wp_body_open<\/code> and <code>wp_footer<\/code> hooks, making it compatible with themes that properly implement these hooks.<\/p><\/dd>\n<dt id=\"can%20i%20display%20the%20bar%20only%20on%20specific%20pages%3F\"><h3>Can I display the bar only on specific pages?<\/h3><\/dt>\n<dd><p>Yes. Choose \"Specific pages &amp; posts\" under the display settings and enter the page IDs separated by commas.<\/p><\/dd>\n<dt id=\"can%20i%20schedule%20the%20notification%20bar%3F\"><h3>Can I schedule the notification bar?<\/h3><\/dt>\n<dd><p>Yes. Set the start and end dates to automatically control when the notification bar appears and disappears.<\/p><\/dd>\n<dt id=\"can%20i%20add%20a%20countdown%20timer%20to%20my%20notification%20bar%3F\"><h3>Can I add a countdown timer to my notification bar?<\/h3><\/dt>\n<dd><p>Yes. Enable the countdown timer, set an end date and time, and customize its appearance. It is ideal for limited-time offers, flash sales, product launches, and upcoming events.<\/p><\/dd>\n<dt id=\"can%20i%20display%20the%20bar%20inside%20a%20post%20or%20page%3F\"><h3>Can I display the bar inside a post or page?<\/h3><\/dt>\n<dd><p>Yes. Use the <code>[mytop_bar]<\/code> shortcode or insert the Notification Bar block in the WordPress block editor.<\/p>\n\n<p>The inline bar uses the same message, button, and countdown settings without the close button, scroll trigger, auto-close, or reopen functionality.<\/p>\n\n<p>Place the shortcode on its own line or inside a Shortcode block rather than within a sentence.<\/p><\/dd>\n<dt id=\"will%20mytop%20slow%20down%20my%20website%3F\"><h3>Will MyTop slow down my website?<\/h3><\/dt>\n<dd><p>MyTop is designed to minimize performance overhead by using lightweight frontend assets without external library dependencies.<\/p><\/dd>\n<dt id=\"why%20is%20my%20notification%20bar%20not%20showing%3F\"><h3>Why is my notification bar not showing?<\/h3><\/dt>\n<dd><p>Make sure the bar is enabled and that the display rules, user visibility, schedule, and mobile settings allow it to appear on the current page.<\/p>\n\n<p>Clear your website cache if necessary.<\/p><\/dd>\n<dt id=\"does%20the%20plugin%20collect%20or%20share%20any%20user%20data%3F\"><h3>Does the plugin collect or share any user data?<\/h3><\/dt>\n<dd><p>No. MyTop does not track visitors, collect personal data for its own purposes, or send information to external services.<\/p><\/dd>\n<dt id=\"are%20my%20settings%20deleted%20when%20i%20uninstall%20the%20plugin%3F\"><h3>Are my settings deleted when I uninstall the plugin?<\/h3><\/dt>\n<dd><p>By default, your settings are retained. Enable \"Delete data on uninstall\" in the plugin settings to remove them when the plugin is deleted.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<li>Added top and bottom notification bars.<\/li>\n<li>Added call-to-action buttons and links.<\/li>\n<li>Added sticky bar and countdown timer.<\/li>\n<li>Added start and end date scheduling.<\/li>\n<li>Added page-specific display and user role visibility.<\/li>\n<li>Added dismiss, reopen, and auto-close options.<\/li>\n<li>Added scroll triggers and entrance animations.<\/li>\n<li>Added mobile visibility control.<\/li>\n<li>Added ready-made themes and design customization.<\/li>\n<li>Added custom CSS ID and class support.<\/li>\n<li>Added settings import and export.<\/li>\n<li>Added <code>[mytop_bar]<\/code> shortcode and Notification Bar block.<\/li>\n<\/ul>","raw_excerpt":"Create a customizable notification bar, announcement bar, or sticky bar with a call to action and countdown timer.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/413225","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=413225"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/jumedeenkhan"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=413225"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=413225"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=413225"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=413225"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=413225"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=413225"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}