> Notifications wordpress plugin resources analysis

Notifications wordpress plugin resources analysis

Download This Plugin
Download Elegant Themes
Name Notifications
Version 1.1.3
Author Chris Reynolds
Rating 100
Last updated 2013-10-15 03:07:00
Downloads
1829
Download Plugins Speed Test plugin for Wordpress

Home page

Delta: 0%

Post page

Delta: 0%
Notifications plugin has no negative impact on PageSpeed score.

Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%

Notifications plugin added 7 kB of resources to the Home page and 7 kB of resources to the sample Post page.

Notifications plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.

Great! Notifications plugin ads no tables to your Wordpress blog database.

How many times have you needed to display a notice across your site? Too many, if you ask me. I wrote this plugin because many of the notification bar plugins out there leave much to be desired. Either there are too many options or not enough or not the ones that I want. Plus, it's not easy to create a notice -- you have to go to some crazy screen and set options unique to that plugin.

This plugin uses custom post types, so notifications are set up like mini-posts that we all know and love. Multiple controls, as well as a built-in filter, enable developers and casual users alike to easily customize the notification bar to your heart's content.

Update: This plugin now supports the Theme Hook Alliance tha_body_top action. If you are using the body_open action in your child theme, please change this to tha_body_top, e.g.

do_action( 'tha_body_top' );

Usage

Notifications looks for the body_open hook. This hook was first proposed on Trac by Andrew Nacin as a way to hook into an action that fires immediately after the <body> tag in the code.

Want to filter the output to customize how the notification gets displayed? Use the notf_notification_filter filter in your plugin or theme, like this:

function my_test_filter( $output ) {
        $output = '<span class="whoops-i-did-it-again" style="color: red;">'.notf_message().'</span>';
        return $output;
     }
     add_filter( 'notf_notification_filter', 'my_test_filter' );

Important: Use the notf_message function in your filter to return the actual notification.

Resources added by plugin to Home page/Post page in kB
Total size of resources for Home page/Post page in kB
Random Theme Tests
dkret3 screenshot

dkret3

by: kretzschmar

67012
0%
MultiColors screenshot

MultiColors

by: Guido07111975

3790
0%