Skip to content

Commit

Permalink
Updated template style url to point to parent theme
Browse files Browse the repository at this point in the history
  • Loading branch information
apzeero committed May 25, 2019
1 parent 0a318f9 commit 15790ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,11 +196,11 @@ function themewpugph_scripts() {

}

wp_enqueue_style( 'themewpugph-style', get_stylesheet_directory_uri() . $mainstyles );
wp_enqueue_style( 'themewpugph-style', get_template_directory()() . $mainstyles );
wp_enqueue_style( 'themewpugph-fonts', themewpugph_fonts_url() );

wp_enqueue_script( 'uikit', get_stylesheet_directory_uri() . $uikitjs, array(), '3.1.2', false );
wp_enqueue_script( 'uikit-icons', get_stylesheet_directory_uri() . $uikiticonsjs, array(), '3.1.2', false );
wp_enqueue_script( 'uikit', get_template_directory() . $uikitjs, array(), '3.1.2', false );
wp_enqueue_script( 'uikit-icons', get_template_directory() . $uikiticonsjs, array(), '3.1.2', false );
}
add_action( 'wp_enqueue_scripts', 'themewpugph_scripts' );

Expand Down

0 comments on commit 15790ba

Please sign in to comment.