added dashicons to front-end
This commit is contained in:
parent
0d9095bfc6
commit
54922ca5f1
|
@ -121,13 +121,11 @@ add_action( 'after_setup_theme', 'xarxaprod_content_width', 0 );
|
||||||
*
|
*
|
||||||
* @link https://developer.wordpress.org/themes/functionality/sidebars/#registering-a-sidebar
|
* @link https://developer.wordpress.org/themes/functionality/sidebars/#registering-a-sidebar
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require get_template_directory() . '/inc/widgets-register.php';
|
require get_template_directory() . '/inc/widgets-register.php';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enqueue scripts and styles.
|
* Enqueue scripts and styles.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require get_template_directory() . '/inc/theme-css-scripts.php';
|
require get_template_directory() . '/inc/theme-css-scripts.php';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -170,7 +168,6 @@ require get_template_directory() . '/inc/user-role-capabilities-mod.php';
|
||||||
/**
|
/**
|
||||||
* Functions to personalize the_archive_title() function
|
* Functions to personalize the_archive_title() function
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require get_template_directory() . '/inc/archive-title.php';
|
require get_template_directory() . '/inc/archive-title.php';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -16,6 +16,10 @@ if ( ! function_exists( 'xarxaprod_theme_css_scripts' ) ){
|
||||||
// register our jQuery minified from theme directory
|
// register our jQuery minified from theme directory
|
||||||
//wp_enqueue_script('jquery', get_template_directory_uri().'/js/jquery.min.js', array(),'3.7.1',true);
|
//wp_enqueue_script('jquery', get_template_directory_uri().'/js/jquery.min.js', array(),'3.7.1',true);
|
||||||
|
|
||||||
|
// enqueue dashicons to load on the front end
|
||||||
|
// used by maps
|
||||||
|
wp_enqueue_style( 'dashicons' );
|
||||||
|
|
||||||
// navigation scripts
|
// navigation scripts
|
||||||
wp_enqueue_script( 'xarxaprod-navigation', get_template_directory_uri() . '/js/navigation.js', array(), _S_VERSION, true );
|
wp_enqueue_script( 'xarxaprod-navigation', get_template_directory_uri() . '/js/navigation.js', array(), _S_VERSION, true );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue