wordpress_theme_weblog/functions/theme_css_js.php

12 lines
509 B
PHP
Raw Permalink Normal View History

2024-08-24 08:01:19 +00:00
<?php
function theme_css_js(){
wp_enqueue_style('bootstrap' ,get_template_directory_uri().'/css/bootstrap.css' ,[],'1.0.0');
wp_enqueue_style('fontawesomep' ,get_template_directory_uri().'/css/font-awesome.css' ,[],'1.0.0');
wp_enqueue_style('style' ,get_template_directory_uri().'/style.css' ,[],'1.0.9');
wp_enqueue_script('myjs' ,get_template_directory_uri().'/js/bootstrap.js' ,['jquery'],'1.0.0',true);
}
add_action("wp_enqueue_scripts","theme_css_js");
?>