As you can see here: / wp head function reference , in the example In the twenty tag, they added Note:
it just says that you need to put the wp_head(); function wp_head(); just for closing <head></head> .
try putting this line:
<?php wp_head(); ?>
as the last line before closing <head> on your site.
and another problem that I saw is that you forgot to end php lines with ;
it is very important!
with the code you provided here, change it like this:
<?php wp_enqueue_script("jquery"); ?> <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jQuery.js"></script> <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/JQueryUI.js"></script> <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/slider.js"></script> <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/gallery.js"></script> <?php wp_head(); ?>
source share