Merge pull request #66 from kovshenin/patch-8
Replace small-menu.js with navigation.js inspired by Twenty Twelve.
This commit is contained in:
commit
620b8e5e53
5 changed files with 48 additions and 43 deletions
|
@ -138,7 +138,7 @@ add_action( 'widgets_init', '_s_widgets_init' );
|
|||
function _s_scripts() {
|
||||
wp_enqueue_style( 'style', get_stylesheet_uri() );
|
||||
|
||||
wp_enqueue_script( 'small-menu', get_template_directory_uri() . '/js/small-menu.js', array( 'jquery' ), '20120206', true );
|
||||
wp_enqueue_script( 'navigation', get_template_directory_uri() . '/js/navigation.js', null, '20120206', true );
|
||||
|
||||
if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
|
||||
wp_enqueue_script( 'comment-reply' );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue