Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

include file bootstrap

i had add this code to file called functions.php i need to bootstrap work but its not .
why when i load page the bootstrap no work , this is the codes

function good_one(){

wp_enqueue_style('onee', get_template_directory_uri().'/css/bootstrap.min.css');
wp_enqueue_style('twoo', get_template_directory_uri().'/css/fontawesome.min.css');
wp_enqueue_style('main_style', get_template_directory_uri().'/css/main.css');

**function (script للحصول على )
** wp_enqueue_script <- بواسطة

function nice_one(){
//wp_register_script('jquery'), includes_url('/js/jquery/jquery.js'),false,'',true);

wp_enqueue_script('one_script', get_template_directory_uri().'/js/bootstrap.min.js',array('jquery'),false,true);
wp_enqueue_script('one_script', get_template_directory_uri().'/js/',array(),false,true);

and i did add_action for this

thank you

Sign In or Register to comment.