Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #145 from jmr06005/master
Update to scripts and styles to prevent redeclaration of a function
  • Loading branch information
jmr06005 committed Sep 15, 2016
2 parents c99b491 + 8f7d1f5 commit 71c5dd9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/scripts-and-styles.php
Expand Up @@ -31,7 +31,7 @@ function cs_scripts() {
add_action( 'wp_enqueue_scripts', 'cs_scripts' );


function load_custom_wp_admin_style($hook) {
function load_cornerstone_wp_admin_style($hook) {
wp_register_style( 'custom_wp_admin_css', get_template_directory_uri() . '/css/admin-style.css' );
wp_enqueue_style( 'custom_wp_admin_css' );

Expand All @@ -44,5 +44,5 @@ function load_custom_wp_admin_style($hook) {
wp_register_style( 'css-widgets-area', get_template_directory_uri().'/css/widgets-area.php' );
wp_enqueue_style( 'css-widgets-area' );
}
add_action( 'admin_enqueue_scripts', 'load_custom_wp_admin_style' );
add_action( 'admin_enqueue_scripts', 'load_cornerstone_wp_admin_style' );
?>

0 comments on commit 71c5dd9

Please sign in to comment.