<?php
function load_stylesheets()
{
  wp_register_style(
    'style',
    get_template_directory_uri() . '/style.css',
    array(),
    false,
    'all');
    wp_enqueue_style('style');
}

add_action('wp_enqueue_scripts', 'load_stylesheets');


function include_jquery(){
  wp_deregister_script('jquery');
  wp_enqueue_script(
    'jquery',
    get_template_directory_uri() . '/js/jquery.js',
    '',
    1,
    true);
  add_action('wp_enqueue_scripts', 'jquery');
}
add_action('wp_enqueue_scripts', 'include_jquery');




function include_jquery_ui(){
  wp_deregister_script('jquery-ui');

  wp_enqueue_script(
    'jquery-compatibility',
    get_template_directory_uri() . '/js/jquery-compatibility.js',
    '',
    1,
    true);
  add_action('wp_enqueue_scripts', 'jquery-compatibility');
}
add_action('wp_enqueue_scripts', 'include_jquery_ui');



function loadjs()
{
  wp_register_script(
    'customjs',
    get_template_directory_uri() . '/scripts.js',
    '',
    1,
    true);
  wp_enqueue_script('customjs');

}
add_action('wp_enqueue_scripts', 'loadjs');




?>
