Site icon Hip-Hop Website Design and Development

Bootstrap Carousel Slider – CSS & JS not working

i feel css or js file not load how am i able to resolve it.
Screenshoot

capabilities.php right here.

perform pp_scripts() {
// Registering Bootstrap type
wp_enqueue_style( 'bootstrap_min', get_stylesheet_directory_uri().'/css/bootstrap.min.css' );

wp_enqueue_script('jquery');
//Registering Bootstrap Script
wp_enqueue_script( 'bootstrap_min', get_template_directory_uri() . '/js/bootstrap.min.js', array(), '', true );
}
add_action( 'wp_enqueue_scripts', 'pp_scripts' );

add_action( 'init', 'custom_bootstrap_slider' );
/**
 * Register a Customized put up sort for.
 */
perform custom_bootstrap_slider() {
    $labels = array(
        'title'               => _x( 'Slider', 'put up sort normal title'),
        'singular_name'      => _x( 'Slide', 'put up sort singular title'),
        'menu_name'          => _x( 'Bootstrap Slider', 'admin menu'),
        'name_admin_bar'     => _x( 'Slide', 'add new on admin bar'),
        'add_new'            => _x( 'Add New', 'Slide'),
        'add_new_item'       => __( 'Identify'),
        'new_item'           => __( 'New Slide'),
        'edit_item'          => __( 'Edit Slide'),
        'view_item'          => __( 'View Slide'),
        'all_items'          => __( 'All Slide'),
        'featured_image'     => __( 'Featured Picture', 'text_domain' ),
        'search_items'       => __( 'Search Slide'),
        'parent_item_colon'  => __( 'Mum or dad Slide:'),
        'not_found'          => __( 'No Slide discovered.'),
        'not_found_in_trash' => __( 'No Slide present in Trash.'),
    );

    $args = array(
        'labels'             => $labels,
        'menu_icon'      => 'dashicons-star-half',
                'description'        => __( 'Description.'),
        'public'             => true,
        'publicly_queryable' => true,
        'show_ui'            => true,
        'show_in_menu'       => true,
        'query_var'          => true,
        'rewrite'            => true,
        'capability_type'    => 'put up',
        'has_archive'        => true,
        'hierarchical'       => true,
        'menu_position'      => null,
        'helps'           => array('title','editor','thumbnail')
    );

    register_post_type( 'slider', $args );
}

for template file

<?php  $slider = get_posts(array('post_type' => 'slider', 'posts_per_page'   => 5)); ?>

<?php div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
  <!-- Indicators -->
  <ol class="carousel-indicators">
    <li data-target="#carousel-example-generic" data-slide-to="0" class="energetic"></li>
    <li data-target="#carousel-example-generic" data-slide-to="1"></li>
    <li data-target="#carousel-example-generic" data-slide-to="2"></li>
  </ol>

  <!-- Wrapper for slides -->
  <div class="carousel-inner" function="listbox">
    <?php $slider = get_posts(array('post_type' => 'slider', 'posts_per_page' => 5)); ?>
      <?php $rely = 0; ?>
      <?php foreach($slider as $slide): ?>
      <div class="merchandise <?php echo ($rely == 0) ? 'energetic' : ''; ?>">
        <img src="<?php echo wp_get_attachment_url( get_post_thumbnail_id($slide->ID)) ?>" class="img-responsive"/>
      </div>
      <?php $rely++; ?>
    <?php endforeach; ?>
  </div>

  <!-- Controls -->
  <a category="left carousel-control" href="#carousel-example-generic" function="button" data-slide="prev">
    <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
    <span class="sr-only">Earlier</span>
  </a>
  <a category="proper carousel-control" href="#carousel-example-generic" function="button" data-slide="subsequent">
    <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
    <span class="sr-only">Subsequent</span>
  </a>
</div>?>