mirror of
https://github.com/kremalicious/Badged.git
synced 2025-02-14 21:10:24 +01:00
don't hardcode the plugin folder name; cleaning up
git-svn-id: http://plugins.svn.wordpress.org/badged/trunk@476936 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
parent
1da78e2e1c
commit
86fa8c41fb
@ -17,19 +17,19 @@ if (function_exists('load_plugin_textdomain')) {
|
||||
function bubbles_init() {
|
||||
bubbles_register_settings();
|
||||
if ( get_option('menu') == 'yes') {
|
||||
wp_register_style('bubbles-menu-css', plugins_url('/bubbles/bubbles-menu.css'), false, '9001');
|
||||
wp_register_style('bubbles-menu-css', plugins_url('css/bubbles-menu.css', __FILE__), false, '9001');
|
||||
wp_enqueue_style('bubbles-menu-css');
|
||||
}
|
||||
|
||||
if ( get_option('bar') == 'yes') {
|
||||
wp_register_style('bubbles-bar-css', plugins_url('/bubbles/bubbles-bar.css'), false, '9001');
|
||||
wp_register_style('bubbles-bar-css', plugins_url('css/bubbles-bar.css', __FILE__), false, '9001');
|
||||
wp_enqueue_style('bubbles-bar-css');
|
||||
}
|
||||
}
|
||||
|
||||
function bubbles_bar_only_init() {
|
||||
if ( get_option('bar') == 'yes') {
|
||||
wp_register_style('bubbles-bar-css', plugins_url('/bubbles/bubbles-bar.css'), false, '9001');
|
||||
wp_register_style('bubbles-bar-css', plugins_url('css/bubbles-bar.css', __FILE__), false, '9001');
|
||||
wp_enqueue_style('bubbles-bar-css');
|
||||
}
|
||||
}
|
||||
|
@ -110,6 +110,6 @@
|
||||
}
|
||||
|
||||
#bubblesoptions .icon32 {
|
||||
background-image: url(icon-bubbles-32.png);
|
||||
background-image: url(../img/icon-bubbles-32.png);
|
||||
background-repeat: no-repeat;
|
||||
}
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Loading…
Reference in New Issue
Block a user