A plugin for WordPress that creates a very pluggable framework to add notifications on the front end of your application. Notifications can be generated by query variables or through template functions and actions.
This plugin can be used to create site wide notifications, or you can narrow it down to specific pages.
The most basic way to add notifications is sitewide. You can add the “show” action to a template like your header.php file. This is the most powerful use for the plugin: uniform, centralized notifications.
<?php do_action( 'sewn/notifications/show' ); ?>
The simplest way to extend the notification center is to add query variable key/value pairs to generate a new message when url query variables are submitted.
<?php add_filter( 'sewn/notifications/queries', 'custom_add_query_notifications' ); function custom_add_query_notifications( $queries ) { $queries[] = array( 'key' => 'update', 'value' => 'true', 'message' => "Updated.", 'args' => 'fade=true' ); $queries[] = array( 'key' => 'update', 'value' => 'failed', 'message' => "Unable to update.", 'args' => 'dismiss=true&error=true' ); $queries[] = array( 'key' => 'update', 'value' => 'finished', 'message' => "Finished!", 'args' => 'fade=10000' // wait ten seconds before fading ); return $queries; } ?>
Now whenever a query variable is added to the end of a page, a message can be shown in the notification center.
So http://example.com/path/to/page/?update=true will generate the message: “Updated.” in the notification center.
When adding a message, there are arguments you can use to customize the functionality.
Add notifications manually anywhere before the show action.
if ( $something_happened ) : do_action( 'sewn/notifications/add', $message, $args ); endif;
Starting from $0 per month.
Rating
Reviewers
No reviews
Tags
Developed By
Jupitercow
Quick & Easy
Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!
Testimonial plugins for Wordpress
Contact Form plugins for Wordpress
Maps plugins for Wordpress
Translation plugins for Wordpress
Chat plugins for Wordpress
Slider plugins for Wordpress
Reviews plugins for Wordpress
Contact plugins for Wordpress
Galleries plugins for Wordpress
SEO plugins for Wordpress
Forms plugins for Wordpress
Comments plugins for Wordpress
Backup plugins for Wordpress
Privacy plugins for Wordpress
Optimize plugins for Wordpress
Tabs plugins for Wordpress
Social Sharing plugins for Wordpress
Events Calendar plugins for Wordpress
Comments plugins for Wordpress
Social Feeds plugins for Wordpress
Social Sharing plugins for Wordpress
Portfolio plugins for Wordpress
Video Player plugins for Wordpress
popup plugins for Wordpress
SiteMap plugins for Wordpress
Payment plugins for Wordpress
Coming Soon plugins for Wordpress
Inventory plugins for Wordpress
Testimonials plugins for Wordpress
Portfolio plugins for Wordpress
Membership plugins for Wordpress
Forms plugins for Wordpress
Analytics plugins for Wordpress
Events Calendar plugins for Wordpress
Sliders plugins for Wordpress
Analytics plugins for Wordpress
Reviews plugins for Wordpress
Security plugins for Wordpress
Ads plugins for Wordpress
Music Player plugins for Wordpress
Countdown plugins for Wordpress
Email Marketing plugins for Wordpress
Membership plugins for Wordpress
Ecommerce plugins for Wordpress
Customer Support plugins for Wordpress
Video Player plugins for Wordpress
Tabs plugins for Wordpress
Social Feeds plugins for Wordpress
Common Ninja Apps
Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.
Showcase YouTube Videos with a Customizable Carousel
Enhance Your Website Visually & Draw Attention to Stunning Card Carousel
Enhance Design & Draw Attention to Videos
Effortlessly showcase event schedules
Floating pop-ups offering endless creative possibilities
Create and Manage Your Online Course Catalog Effortlessly
Easily display Medium blogs, engaging visuals, and enhanced user experience
Connect with Customers Easily Across Multiple Platforms
Keep Users Up to Date & Improve Their Experience
Create Stunning WordPress Feeds & Improve User Experience
Improve trust & credibility with the Team Member List widget
Boost Confidence & Enhance Reliability for Higher Sales
More plugins
The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!