added dashicons to front-end

This commit is contained in:
jorge 2024-04-01 14:51:41 +02:00
parent 0d9095bfc6
commit 54922ca5f1
2 changed files with 5 additions and 4 deletions

View File

@ -121,13 +121,11 @@ add_action( 'after_setup_theme', 'xarxaprod_content_width', 0 );
*
* @link https://developer.wordpress.org/themes/functionality/sidebars/#registering-a-sidebar
*/
require get_template_directory() . '/inc/widgets-register.php';
/**
* Enqueue scripts and styles.
*/
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
*/
require get_template_directory() . '/inc/archive-title.php';
/**

View File

@ -16,6 +16,10 @@ if ( ! function_exists( 'xarxaprod_theme_css_scripts' ) ){
// register our jQuery minified from theme directory
//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
wp_enqueue_script( 'xarxaprod-navigation', get_template_directory_uri() . '/js/navigation.js', array(), _S_VERSION, true );