From eecc318ebd901c52517105754e14dd5a60deef1b Mon Sep 17 00:00:00 2001 From: Joseph Thibeault Date: Fri, 18 Jul 2014 11:20:15 -0400 Subject: [PATCH] Fixed path for banner css --- class-uconn-banner.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/class-uconn-banner.php b/class-uconn-banner.php index 2cbfebe..72686c8 100755 --- a/class-uconn-banner.php +++ b/class-uconn-banner.php @@ -258,8 +258,8 @@ public function load_plugin_textdomain() { * @since 1.0.0 */ public function enqueue_styles() { - - wp_enqueue_style( $this->plugin_slug . '-banner-styles', '/wp-content/plugins/uconn-banner-wp/vendor/banner/_site/banner.css', array(), self::VERSION ); + $css_url = plugins_url( 'vendor/banner/_site/banner.css', __FILE__ ); + wp_enqueue_style( $this->plugin_slug . '-banner-styles', $css_url, array(), self::VERSION ); } @@ -284,7 +284,7 @@ public function enqueue_scripts() { public function uconn_banner_html() { include('views/public.php'); - + } /** @@ -298,4 +298,4 @@ public function uconn_banner_head() { } -} \ No newline at end of file +}