functions.php
// Load HTML5 Blank scripts (header.php)
Load HTML5 Blank scripts (header.php)
Load HTML5 Blank scripts ( header . php )
function laulo_header_scripts()
{
    if ($GLOBALS['pagenow'] != 'wp-login.php' && !is_admin()) {
      wp_register_script('bootstrap_js', get_template_directory_uri() . '/js/lib/bootstrap.min.js', array(), '4.5.2'); 
      wp_register_script('lauloscripts', get_template_directory_uri() . '/js/scripts.js', array('jquery', 'bootstrap_js'), '1.0.0'); 
      wp_enqueue_script('lauloscripts'); 
      wp_localize_script('lauloscripts', 'ajax_object', array('ajaxurl' => admin_url('admin-ajax.php'))); 
    }
}
function laulo_header_scripts ( ) { if ( $ GLOBALS [ 'pagenow' ] != 'wp-login.php' && ! is_admin ( ) ) { wp_register_script ( 'bootstrap_js' , get_template_directory_uri ( ) . '/js/lib/bootstrap.min.js' , array ( ) , '4.5.2' ) ; wp_register_script ( 'lauloscripts' , get_template_directory_uri ( ) . '/js/scripts.js' , array ( 'jquery' , 'bootstrap_js' ) , '1.0.0' ) ; wp_enqueue_script ( 'lauloscripts' ) ; wp_localize_script ( 'lauloscripts' , 'ajax_object' , array ( 'ajaxurl' => admin_url ( 'admin-ajax.php' ) ) ) ; } }
Load HTML5 Blank scripts (header.php)
Load HTML5 Blank scripts ( header . php )
// Modernizr // Custom scripts // Enqueue it! // Ajax