Skip to content
This repository has been archived by the owner on Apr 21, 2018. It is now read-only.

Commit

Permalink
Remove the slider.
Browse files Browse the repository at this point in the history
  • Loading branch information
kwight committed May 3, 2014
1 parent b0c6bf5 commit 4023afd
Show file tree
Hide file tree
Showing 10 changed files with 4 additions and 326 deletions.
5 changes: 0 additions & 5 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,6 @@ function debut_scripts() {
if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
wp_enqueue_script( 'comment-reply' );
}

if ( is_home() && debut_get_featured_content() ) {
wp_enqueue_style( 'debut-flexslider-style', get_template_directory_uri() . '/js/flexslider/flexslider.css' );
wp_enqueue_script( 'debut-flexslider-script', get_template_directory_uri() . '/js/flexslider/jquery.flexslider-min.js', array( 'jquery' ) );
}

}
add_action( 'wp_enqueue_scripts', 'debut_scripts' );
Expand Down
2 changes: 0 additions & 2 deletions header.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,4 @@
<?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
</nav>

<?php if ( is_home() ) get_template_part( 'slider' ); ?>

<div id="main">
7 changes: 0 additions & 7 deletions js/debut.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,5 @@ jQuery( document ).ready( function( $ ) {
$( '.menu-button' ).click( function() {
$( '.menu' ).slideToggle();
})

if ( 'flexslider' in $ ) {
$('.flexslider').flexslider({
animation: 'slide',
smoothHeight: true
});
}

});
130 changes: 0 additions & 130 deletions js/flexslider/README.mdown

This file was deleted.

76 changes: 0 additions & 76 deletions js/flexslider/flexslider.css

This file was deleted.

Binary file removed js/flexslider/images/bg_direction_nav.png
Binary file not shown.
Loading

0 comments on commit 4023afd

Please sign in to comment.