windhamdavid 11 years ago
parent
commit
fb4371a762
2 changed files with 4 additions and 2 deletions
  1. 1 1
      archive.php
  2. 3 1
      functions.php

+ 1 - 1
archive.php

@@ -4,7 +4,7 @@
 			<div class="entry-content archive">
 				<?php if ( have_posts() ) : ?>
 				<header class="page-header">
-					<h1 class="page-title"><?php single_month_title(); ?></h1>
+					<h1 class="page-title">Archive: <?php the_time('Y'); ?></h1>
 				</header>
 				<?php while ( have_posts() ) : the_post();?>
 				<h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'dw' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>

+ 3 - 1
functions.php

@@ -39,7 +39,9 @@ add_filter( 'script_loader_src', 'dw_remove_wp_ver_css_js', 9999 );
 add_action( 'wp_enqueue_scripts', 'dw_scripts' );
 function dw_scripts() {
 	global $post;
-	wp_enqueue_script('jquery', true); 
+	wp_deregister_script('jquery');
+	wp_enqueue_script('jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js', array(), false, true);
+	wp_enqueue_script( 'jquery', '', '', '', true );
 	wp_enqueue_style( 'style', get_stylesheet_uri() );
 	if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
 		wp_enqueue_script( 'comment-reply' );