1
0
mirror of https://github.com/kremalicious/Badged.git synced 2024-11-26 20:01:07 +01:00
Badged/bubbles.php

30 lines
672 B
PHP
Raw Normal View History

2011-12-14 17:12:13 +01:00
<?php
/**
* Plugin Name: Bubbles
* Plugin URI: http://kremalicious.com
* Description: Transforms the standard WordPress update & comment notification bubbles into iOS-styled ones. No settings needed, just activate and enjoy the red bubbles.
* Author: Matthias Kretschmann
* Author URI: http://matthiaskretschmann.com
* Version: 0.1.0
* License: GPL
*/
/**
* Throw in the styles
*
* Enqueue the css file
*
* @since 0.1.0
*/
function bubbles_init() {
wp_register_style('bubbles-css', plugins_url('/bubbles/bubbles.css'), false, '9001');
wp_enqueue_style('bubbles-css');
}
if ( is_admin() ) {
add_action('admin_init', 'bubbles_init');
}
?>