-
; ?>/img/logo.png)
+
diff --git a/includes/roots-admin.php b/includes/roots-admin.php
index 6cfed7e..979df69 100644
--- a/includes/roots-admin.php
+++ b/includes/roots-admin.php
@@ -4,16 +4,16 @@
add_action('admin_init', 'roots_admin_init');
function roots_admin_init() {
- $site_url = site_url();
+ $home_url = home_url();
$theme_name = next(explode('/themes/', get_template_directory()));
- //wp_register_script('roots_codemirror', "$site_url/wp-content/themes/roots/includes/js/codemirror/codemirror.js");
+ //wp_register_script('roots_codemirror', "$home_url/wp-content/themes/roots/includes/js/codemirror/codemirror.js");
//wp_enqueue_script('roots_codemirror');
- wp_register_style('roots_admin_css', "$site_url/wp-content/themes/$theme_name/includes/css/admin.css");
+ wp_register_style('roots_admin_css', "$home_url/wp-content/themes/$theme_name/includes/css/admin.css");
wp_enqueue_style('roots_admin_css');
- wp_register_script('roots_admin_js', "$site_url/wp-content/themes/$theme_name/includes/js/scripts.js");
+ wp_register_script('roots_admin_js', "$home_url/wp-content/themes/$theme_name/includes/js/scripts.js");
wp_enqueue_script('roots_admin_js');
}
diff --git a/includes/roots-options.php b/includes/roots-options.php
index 930f54d..97a08de 100644
--- a/includes/roots-options.php
+++ b/includes/roots-options.php
@@ -21,13 +21,13 @@ function roots_create_menu() {
}
function roots_admin_styles() {
- $site_url = site_url();
+ $home_url = home_url();
$theme_name = next(explode('/themes/', get_template_directory()));
- wp_register_style('roots_options_css', "$site_url/wp-content/themes/$theme_name/includes/css/options.css");
+ wp_register_style('roots_options_css', "$home_url/wp-content/themes/$theme_name/includes/css/options.css");
wp_enqueue_style('roots_options_css');
- wp_register_script('roots_options_js', "$site_url/wp-content/themes/$theme_name/includes/js/options.js");
+ wp_register_script('roots_options_js', "$home_url/wp-content/themes/$theme_name/includes/js/options.js");
wp_enqueue_script('roots_options_js');
wp_register_style('jquery-ui-css', "http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/themes/smoothness/jquery-ui.css");