Wie lade ich ein Bootstrap-Skript und einen Style in die functions.php (wordpress)?

Ich habe das Bootstrap-Theme in WordPress konvertiert. Jetzt habe ich ein Problem beim Laden der Bootstrap-Skripte und -Stile. Das ist mein Code in functions.php

   function wpbootstrap_scripts_with_jquery()
    {

        // Register the script like this for a theme:
        wp_register_script( 'custom-script', get_template_directory_uri() . '/js/bootstrap.js', array( 'jquery' ) );
        wp_enqueue_script( 'samplejs', get_template_directory_uri() . '/js/jquery.min.js', array( '' ) );
            wp_enqueue_script( 'samplejs', get_template_directory_uri() . '/js/clean-blog.min.js', array( '' ) );
        // For either a plugin or a theme, you can then enqueue the script:
        wp_enqueue_script( 'custom-script' );
    }

add_action( 'wp_enqueue_scripts', 'wpbootstrap_scripts_with_jquery' );

und ich füge dies in meinen Header

<?php wp_enqueue_script("jquery"); ?>

Zusätzliche Frage: Was ist der Unterschied zwischen wp_register und wp_enqueue? Bitte hilf mir. Ich bin Anfänger in der Verwendung von Bootstrap.

Antworten auf die Frage(2)

Ihre Antwort auf die Frage