| 1 | Index: wp-content/themes/twentytwelve/inc/theme-options.php |
|---|
| 2 | =================================================================== |
|---|
| 3 | --- wp-content/themes/twentytwelve/inc/theme-options.php (revision 21612) |
|---|
| 4 | +++ wp-content/themes/twentytwelve/inc/theme-options.php (working copy) |
|---|
| 5 | @@ -44,7 +44,7 @@ |
|---|
| 6 | } |
|---|
| 7 | |
|---|
| 8 | /** |
|---|
| 9 | - * Register the form setting for our options array. |
|---|
| 10 | + * Registers the form setting for our options array. |
|---|
| 11 | * |
|---|
| 12 | * This function is attached to the admin_init action hook. |
|---|
| 13 | * |
|---|
| 14 | @@ -86,7 +86,7 @@ |
|---|
| 15 | } |
|---|
| 16 | |
|---|
| 17 | /** |
|---|
| 18 | - * Add our theme options page to the admin menu. |
|---|
| 19 | + * Adds our theme options page to the admin menu. |
|---|
| 20 | * |
|---|
| 21 | * This function is attached to the admin_menu action hook. |
|---|
| 22 | * |
|---|
| 23 | @@ -175,7 +175,7 @@ |
|---|
| 24 | } |
|---|
| 25 | |
|---|
| 26 | /** |
|---|
| 27 | - * Sanitize and validate form input. Accepts an array, return a sanitized array. |
|---|
| 28 | + * Sanitizes and validates form input. |
|---|
| 29 | * |
|---|
| 30 | * @see options_init() |
|---|
| 31 | * @access public |
|---|
| 32 | @@ -195,7 +195,7 @@ |
|---|
| 33 | } |
|---|
| 34 | |
|---|
| 35 | /** |
|---|
| 36 | - * Implement Twenty Twelve theme options into Theme Customizer. |
|---|
| 37 | + * Implements Twenty Twelve theme options into Theme Customizer. |
|---|
| 38 | * |
|---|
| 39 | * @since Twenty Twelve 1.0 |
|---|
| 40 | * @access public |
|---|
| 41 | @@ -233,7 +233,7 @@ |
|---|
| 42 | } |
|---|
| 43 | |
|---|
| 44 | /** |
|---|
| 45 | - * Bind JS handlers to make Theme Customizer preview reload changes asynchronously. |
|---|
| 46 | + * Binds JS handlers to make Theme Customizer preview reload changes asynchronously. |
|---|
| 47 | * |
|---|
| 48 | * @since Twenty Twelve 1.0 |
|---|
| 49 | * @access public |
|---|
| 50 | @@ -249,7 +249,7 @@ |
|---|
| 51 | } |
|---|
| 52 | |
|---|
| 53 | /** |
|---|
| 54 | - * Create path to load fonts CSS file with correct protocol. |
|---|
| 55 | + * Creates path to load fonts CSS file with correct protocol. |
|---|
| 56 | * |
|---|
| 57 | * @since Twenty Twelve 1.0 |
|---|
| 58 | * @access public |
|---|
| 59 | Index: wp-content/themes/twentytwelve/content-none.php |
|---|
| 60 | =================================================================== |
|---|
| 61 | --- wp-content/themes/twentytwelve/content-none.php (revision 21612) |
|---|
| 62 | +++ wp-content/themes/twentytwelve/content-none.php (working copy) |
|---|
| 63 | @@ -12,7 +12,7 @@ |
|---|
| 64 | <header class="entry-header"> |
|---|
| 65 | <h1 class="entry-title"><?php _e( 'Nothing Found', 'twentytwelve' ); ?></h1> |
|---|
| 66 | </header><!-- .entry-header --> |
|---|
| 67 | - |
|---|
| 68 | + |
|---|
| 69 | <div class="entry-content"> |
|---|
| 70 | <p><?php _e( 'Apologies, but no results were found. Perhaps searching will help find a related post.', 'twentytwelve' ); ?></p> |
|---|
| 71 | <?php get_search_form(); ?> |
|---|
| 72 | Index: wp-content/themes/twentytwelve/image.php |
|---|
| 73 | =================================================================== |
|---|
| 74 | --- wp-content/themes/twentytwelve/image.php (revision 21612) |
|---|
| 75 | +++ wp-content/themes/twentytwelve/image.php (working copy) |
|---|
| 76 | @@ -90,13 +90,13 @@ |
|---|
| 77 | |
|---|
| 78 | </div><!-- .entry-content --> |
|---|
| 79 | |
|---|
| 80 | - </article><!-- #post --> |
|---|
| 81 | + </article><!-- #post-<?php the_ID(); ?> --> |
|---|
| 82 | |
|---|
| 83 | <?php comments_template(); ?> |
|---|
| 84 | |
|---|
| 85 | <?php endwhile; // end of the loop. ?> |
|---|
| 86 | |
|---|
| 87 | </div><!-- #content --> |
|---|
| 88 | - </div><!-- #primary .site-content --> |
|---|
| 89 | + </div><!-- #primary --> |
|---|
| 90 | |
|---|
| 91 | <?php get_footer(); ?> |
|---|
| 92 | \ No newline at end of file |
|---|
| 93 | Index: wp-content/themes/twentytwelve/content-aside.php |
|---|
| 94 | =================================================================== |
|---|
| 95 | --- wp-content/themes/twentytwelve/content-aside.php (revision 21612) |
|---|
| 96 | +++ wp-content/themes/twentytwelve/content-aside.php (working copy) |
|---|
| 97 | @@ -14,10 +14,10 @@ |
|---|
| 98 | <div class="entry-content"> |
|---|
| 99 | <?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentytwelve' ) ); ?> |
|---|
| 100 | </div><!-- .entry-content --> |
|---|
| 101 | - </div> |
|---|
| 102 | + </div><!-- .aside --> |
|---|
| 103 | |
|---|
| 104 | <footer class="entry-meta"> |
|---|
| 105 | <?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<div class="edit-link">', '</div>' ); ?> |
|---|
| 106 | <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_date(); ?></a> |
|---|
| 107 | </footer><!-- .entry-meta --> |
|---|
| 108 | -</article><!-- #post --> |
|---|
| 109 | +</article><!-- #post-<?php the_ID(); ?> --> |
|---|
| 110 | Index: wp-content/themes/twentytwelve/content-page.php |
|---|
| 111 | =================================================================== |
|---|
| 112 | --- wp-content/themes/twentytwelve/content-page.php (revision 21612) |
|---|
| 113 | +++ wp-content/themes/twentytwelve/content-page.php (working copy) |
|---|
| 114 | @@ -20,4 +20,4 @@ |
|---|
| 115 | <footer class="entry-meta"> |
|---|
| 116 | <?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<span class="edit-link">', '</span>' ); ?> |
|---|
| 117 | </footer><!-- .entry-meta --> |
|---|
| 118 | -</article><!-- #post --> |
|---|
| 119 | +</article><!-- #post-<?php the_ID(); ?> --> |
|---|
| 120 | Index: wp-content/themes/twentytwelve/header.php |
|---|
| 121 | =================================================================== |
|---|
| 122 | --- wp-content/themes/twentytwelve/header.php (revision 21612) |
|---|
| 123 | +++ wp-content/themes/twentytwelve/header.php (working copy) |
|---|
| 124 | @@ -39,7 +39,7 @@ |
|---|
| 125 | <h3 class="menu-toggle"><?php _e( 'Show menu', 'twentytwelve' ); ?></h3> |
|---|
| 126 | <div class="skip-link assistive-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentytwelve' ); ?>"><?php _e( 'Skip to content', 'twentytwelve' ); ?></a></div> |
|---|
| 127 | <?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu' ) ); ?> |
|---|
| 128 | - </nav> |
|---|
| 129 | + </nav><!-- #site-navigation --> |
|---|
| 130 | |
|---|
| 131 | <?php $header_image = get_header_image(); |
|---|
| 132 | if ( ! empty( $header_image ) ) : ?> |
|---|
| 133 | Index: wp-content/themes/twentytwelve/content.php |
|---|
| 134 | =================================================================== |
|---|
| 135 | --- wp-content/themes/twentytwelve/content.php (revision 21612) |
|---|
| 136 | +++ wp-content/themes/twentytwelve/content.php (working copy) |
|---|
| 137 | @@ -29,7 +29,7 @@ |
|---|
| 138 | </div><!-- .comments-link --> |
|---|
| 139 | <?php endif; // comments_open() ?> |
|---|
| 140 | </header><!-- .entry-header --> |
|---|
| 141 | - |
|---|
| 142 | + |
|---|
| 143 | <?php if ( is_search() ) : // Only display Excerpts for Search ?> |
|---|
| 144 | <div class="entry-summary"> |
|---|
| 145 | <?php the_excerpt(); ?> |
|---|
| 146 | @@ -40,7 +40,7 @@ |
|---|
| 147 | <?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'twentytwelve' ), 'after' => '</div>' ) ); ?> |
|---|
| 148 | </div><!-- .entry-content --> |
|---|
| 149 | <?php endif; ?> |
|---|
| 150 | - |
|---|
| 151 | + |
|---|
| 152 | <footer class="entry-meta"> |
|---|
| 153 | <?php twentytwelve_entry_meta(); ?> |
|---|
| 154 | <?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<span class="edit-link">', '</span>' ); ?> |
|---|
| 155 | @@ -61,4 +61,4 @@ |
|---|
| 156 | </div><!-- #author-info --> |
|---|
| 157 | <?php endif; ?> |
|---|
| 158 | </footer><!-- .entry-meta --> |
|---|
| 159 | - </article><!-- #post --> |
|---|
| 160 | + </article><!-- #post-<?php the_ID(); ?> --> |
|---|
| 161 | Index: wp-content/themes/twentytwelve/functions.php |
|---|
| 162 | =================================================================== |
|---|
| 163 | --- wp-content/themes/twentytwelve/functions.php (revision 21612) |
|---|
| 164 | +++ wp-content/themes/twentytwelve/functions.php (working copy) |
|---|
| 165 | @@ -35,8 +35,8 @@ |
|---|
| 166 | * Sets up theme defaults and registers support for various WordPress features. |
|---|
| 167 | * |
|---|
| 168 | * @uses load_theme_textdomain() For translation/localization support. |
|---|
| 169 | - * @uses add_theme_support() To add support for post thumbnails, automatic feed links, custom headers |
|---|
| 170 | - * and backgrounds, and post formats. |
|---|
| 171 | + * @uses add_theme_support() To add support for post thumbnails, automatic feed links, |
|---|
| 172 | + * custom backgrounds, and post formats. |
|---|
| 173 | * @uses register_nav_menu() To add support for navigation menus. |
|---|
| 174 | * @uses set_post_thumbnail_size() To set a custom post thumbnail size. |
|---|
| 175 | * |
|---|
| 176 | @@ -45,7 +45,7 @@ |
|---|
| 177 | function twentytwelve_setup() { |
|---|
| 178 | global $twentytwelve_options; |
|---|
| 179 | |
|---|
| 180 | - /** |
|---|
| 181 | + /* |
|---|
| 182 | * Make Twenty Twelve available for translation. |
|---|
| 183 | * Translations can be added to the /languages/ directory. |
|---|
| 184 | * If you're building a theme based on Twenty Twelve, use a find and replace |
|---|
| 185 | @@ -69,7 +69,7 @@ |
|---|
| 186 | // This theme uses wp_nav_menu() in one location. |
|---|
| 187 | register_nav_menu( 'primary', __( 'Primary Menu', 'twentytwelve' ) ); |
|---|
| 188 | |
|---|
| 189 | - // Add support for custom background. |
|---|
| 190 | + // Add support for custom background and a default background color. |
|---|
| 191 | add_theme_support( 'custom-background', array( |
|---|
| 192 | 'default-color' => 'e6e6e6', |
|---|
| 193 | ) ); |
|---|
| 194 | @@ -86,27 +86,27 @@ |
|---|
| 195 | require( get_template_directory() . '/inc/custom-header.php' ); |
|---|
| 196 | |
|---|
| 197 | /** |
|---|
| 198 | - * Enqueue scripts and styles for front-end. |
|---|
| 199 | + * Enqueues scripts and styles for front-end. |
|---|
| 200 | * |
|---|
| 201 | * @since Twenty Twelve 1.0 |
|---|
| 202 | */ |
|---|
| 203 | function twentytwelve_scripts_styles() { |
|---|
| 204 | global $twentytwelve_options; |
|---|
| 205 | |
|---|
| 206 | - /** |
|---|
| 207 | + /* |
|---|
| 208 | * Add JavaScript to pages with the comment form to support |
|---|
| 209 | * sites with threaded comments (when in use). |
|---|
| 210 | */ |
|---|
| 211 | if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) |
|---|
| 212 | wp_enqueue_script( 'comment-reply' ); |
|---|
| 213 | |
|---|
| 214 | - /** |
|---|
| 215 | + /* |
|---|
| 216 | * JavaScript for handling navigation menus and the resized |
|---|
| 217 | * styles for small screen sizes. |
|---|
| 218 | */ |
|---|
| 219 | wp_enqueue_script( 'twentytwelve-navigation', get_template_directory_uri() . '/js/navigation.js', array(), '20120824', true ); |
|---|
| 220 | |
|---|
| 221 | - /** |
|---|
| 222 | + /* |
|---|
| 223 | * Load special font CSS file. |
|---|
| 224 | * Depends on Theme Options setting. |
|---|
| 225 | */ |
|---|
| 226 | @@ -114,12 +114,12 @@ |
|---|
| 227 | if ( $options['enable_fonts'] ) |
|---|
| 228 | wp_enqueue_style( 'twentytwelve-fonts', $twentytwelve_options->custom_fonts_url(), array(), null ); |
|---|
| 229 | |
|---|
| 230 | - /** |
|---|
| 231 | + /* |
|---|
| 232 | * Load our main CSS file. |
|---|
| 233 | */ |
|---|
| 234 | wp_enqueue_style( 'twentytwelve-style', get_stylesheet_uri() ); |
|---|
| 235 | |
|---|
| 236 | - /** |
|---|
| 237 | + /* |
|---|
| 238 | * Load HTML5 shiv for older IE version support for HTML5 elements. |
|---|
| 239 | * Ideally, should load after main CSS file. |
|---|
| 240 | * |
|---|
| 241 | @@ -139,6 +139,7 @@ |
|---|
| 242 | * |
|---|
| 243 | * @param string $title Default title text for current view. |
|---|
| 244 | * @param string $sep Optional separator. |
|---|
| 245 | + * |
|---|
| 246 | * @return string Filtered title. |
|---|
| 247 | */ |
|---|
| 248 | function twentytwelve_wp_title( $title, $sep ) { |
|---|
| 249 | @@ -164,7 +165,7 @@ |
|---|
| 250 | add_filter( 'wp_title', 'twentytwelve_wp_title', 10, 2 ); |
|---|
| 251 | |
|---|
| 252 | /** |
|---|
| 253 | - * Get our wp_nav_menu() fallback, wp_page_menu(), to show a home link. |
|---|
| 254 | + * Gets our wp_nav_menu() fallback, wp_page_menu(), to show a home link. |
|---|
| 255 | * |
|---|
| 256 | * @since Twenty Twelve 1.0 |
|---|
| 257 | */ |
|---|
| 258 | @@ -175,7 +176,7 @@ |
|---|
| 259 | add_filter( 'wp_page_menu_args', 'twentytwelve_page_menu_args' ); |
|---|
| 260 | |
|---|
| 261 | /** |
|---|
| 262 | - * Register our single widget area. |
|---|
| 263 | + * Registers our single widget area. |
|---|
| 264 | * |
|---|
| 265 | * @since Twenty Twelve 1.0 |
|---|
| 266 | */ |
|---|
| 267 | @@ -213,7 +214,7 @@ |
|---|
| 268 | add_action( 'widgets_init', 'twentytwelve_widgets_init' ); |
|---|
| 269 | |
|---|
| 270 | /** |
|---|
| 271 | - * Count the number of footer sidebars to enable dynamic classes for the footer |
|---|
| 272 | + * Counts the number of footer sidebars to enable dynamic classes for the footer |
|---|
| 273 | * |
|---|
| 274 | * @since Twenty Twelve 1.0 |
|---|
| 275 | */ |
|---|
| 276 | @@ -228,7 +229,7 @@ |
|---|
| 277 | |
|---|
| 278 | if ( ! function_exists( 'twentytwelve_content_nav' ) ) : |
|---|
| 279 | /** |
|---|
| 280 | - * Display navigation to next/previous pages when applicable. |
|---|
| 281 | + * Displays navigation to next/previous pages when applicable. |
|---|
| 282 | * |
|---|
| 283 | * @since Twenty Twelve 1.0 |
|---|
| 284 | */ |
|---|
| 285 | @@ -288,7 +289,7 @@ |
|---|
| 286 | sprintf( __( '%1$s at %2$s', 'twentytwelve' ), get_comment_date(), get_comment_time() ) |
|---|
| 287 | ); |
|---|
| 288 | ?> |
|---|
| 289 | - </header> |
|---|
| 290 | + </header><!-- .comment-meta --> |
|---|
| 291 | |
|---|
| 292 | <?php if ( '0' == $comment->comment_approved ) : ?> |
|---|
| 293 | <p class="comment-awaiting-moderation"><?php _e( 'Your comment is awaiting moderation.', 'twentytwelve' ); ?></p> |
|---|
| 294 | @@ -297,12 +298,12 @@ |
|---|
| 295 | <section class="comment comment-content"> |
|---|
| 296 | <?php comment_text(); ?> |
|---|
| 297 | <?php edit_comment_link( __( 'Edit', 'twentytwelve' ), '<p class="edit-link">', '</p>' ); ?> |
|---|
| 298 | - </section> |
|---|
| 299 | + </section><!-- .comment --> |
|---|
| 300 | |
|---|
| 301 | <div class="reply"> |
|---|
| 302 | <?php comment_reply_link( array_merge( $args, array( 'reply_text' => __( 'Reply <span>↓</span>', 'twentytwelve' ), 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?> |
|---|
| 303 | </div><!-- .reply --> |
|---|
| 304 | - </article><!-- #comment-## --> |
|---|
| 305 | + </article><!-- #comment-<?php comment_ID(); ?> --> |
|---|
| 306 | <?php |
|---|
| 307 | break; |
|---|
| 308 | endswitch; // end comment_type check |
|---|
| 309 | @@ -384,7 +385,7 @@ |
|---|
| 310 | add_filter( 'body_class', 'twentytwelve_body_class' ); |
|---|
| 311 | |
|---|
| 312 | /** |
|---|
| 313 | - * Adjust $content width for full-width and single image attachment templates |
|---|
| 314 | + * Adjusts $content width for full-width and single image attachment templates |
|---|
| 315 | * and when there are no active widgets in the sidebar. |
|---|
| 316 | * |
|---|
| 317 | * @since Twenty Twelve 1.0 |
|---|
| 318 | Index: wp-content/themes/twentytwelve/404.php |
|---|
| 319 | =================================================================== |
|---|
| 320 | --- wp-content/themes/twentytwelve/404.php (revision 21612) |
|---|
| 321 | +++ wp-content/themes/twentytwelve/404.php (working copy) |
|---|
| 322 | @@ -15,7 +15,7 @@ |
|---|
| 323 | <article id="post-0" class="post error404 no-results not-found"> |
|---|
| 324 | <header class="entry-header"> |
|---|
| 325 | <h1 class="entry-title"><?php _e( 'This is somewhat embarrassing, isn’t it?', 'twentytwelve' ); ?></h1> |
|---|
| 326 | - </header> |
|---|
| 327 | + </header><!-- .entry-header --> |
|---|
| 328 | |
|---|
| 329 | <div class="entry-content"> |
|---|
| 330 | <p><?php _e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'twentytwelve' ); ?></p> |
|---|
| 331 | @@ -24,6 +24,6 @@ |
|---|
| 332 | </article><!-- #post-0 --> |
|---|
| 333 | |
|---|
| 334 | </div><!-- #content --> |
|---|
| 335 | - </div><!-- #primary .site-content --> |
|---|
| 336 | + </div><!-- #primary --> |
|---|
| 337 | |
|---|
| 338 | <?php get_footer(); ?> |
|---|
| 339 | \ No newline at end of file |
|---|
| 340 | Index: wp-content/themes/twentytwelve/content-quote.php |
|---|
| 341 | =================================================================== |
|---|
| 342 | --- wp-content/themes/twentytwelve/content-quote.php (revision 21612) |
|---|
| 343 | +++ wp-content/themes/twentytwelve/content-quote.php (working copy) |
|---|
| 344 | @@ -17,4 +17,4 @@ |
|---|
| 345 | <?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<div class="edit-link">', '</div>' ); ?> |
|---|
| 346 | <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_date(); ?></a> |
|---|
| 347 | </footer><!-- .entry-meta --> |
|---|
| 348 | -</article><!-- #post --> |
|---|
| 349 | +</article><!-- #post-<?php the_ID(); ?> --> |
|---|
| 350 | Index: wp-content/themes/twentytwelve/author.php |
|---|
| 351 | =================================================================== |
|---|
| 352 | --- wp-content/themes/twentytwelve/author.php (revision 21612) |
|---|
| 353 | +++ wp-content/themes/twentytwelve/author.php (working copy) |
|---|
| 354 | @@ -26,7 +26,7 @@ |
|---|
| 355 | |
|---|
| 356 | <header class="archive-header"> |
|---|
| 357 | <h1 class="archive-title"><?php printf( __( 'Author Archives: %s', 'twentytwelve' ), '<span class="vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( "ID" ) ) ) . '" title="' . esc_attr( get_the_author() ) . '" rel="me">' . get_the_author() . '</a></span>' ); ?></h1> |
|---|
| 358 | - </header> |
|---|
| 359 | + </header><!-- .archive-header --> |
|---|
| 360 | |
|---|
| 361 | <?php |
|---|
| 362 | /* Since we called the_post() above, we need to |
|---|
| 363 | @@ -64,7 +64,7 @@ |
|---|
| 364 | <?php endif; ?> |
|---|
| 365 | |
|---|
| 366 | </div><!-- #content --> |
|---|
| 367 | - </section><!-- #primary .site-content --> |
|---|
| 368 | + </section><!-- #primary --> |
|---|
| 369 | |
|---|
| 370 | <?php get_sidebar(); ?> |
|---|
| 371 | <?php get_footer(); ?> |
|---|
| 372 | \ No newline at end of file |
|---|
| 373 | Index: wp-content/themes/twentytwelve/homepage.php |
|---|
| 374 | =================================================================== |
|---|
| 375 | --- wp-content/themes/twentytwelve/homepage.php (revision 21612) |
|---|
| 376 | +++ wp-content/themes/twentytwelve/homepage.php (working copy) |
|---|
| 377 | @@ -11,20 +11,20 @@ |
|---|
| 378 | |
|---|
| 379 | <div id="primary" class="site-content"> |
|---|
| 380 | <div id="content" role="main"> |
|---|
| 381 | - |
|---|
| 382 | + |
|---|
| 383 | <?php while ( have_posts() ) : the_post(); ?> |
|---|
| 384 | <?php if ( has_post_thumbnail() ) { ?> |
|---|
| 385 | <div class="entry-page-image"> |
|---|
| 386 | <?php the_post_thumbnail(); ?> |
|---|
| 387 | </div> |
|---|
| 388 | <?php } ?> |
|---|
| 389 | - |
|---|
| 390 | + |
|---|
| 391 | <?php get_template_part( 'content', 'page' ); ?> |
|---|
| 392 | - |
|---|
| 393 | + |
|---|
| 394 | <?php endwhile; // end of the loop. ?> |
|---|
| 395 | - |
|---|
| 396 | + |
|---|
| 397 | </div><!-- #content --> |
|---|
| 398 | - </div><!-- #primary .site-content --> |
|---|
| 399 | + </div><!-- #primary --> |
|---|
| 400 | |
|---|
| 401 | <?php get_sidebar( 'home' ); ?> |
|---|
| 402 | <?php get_footer(); ?> |
|---|
| 403 | \ No newline at end of file |
|---|
| 404 | Index: wp-content/themes/twentytwelve/content-link.php |
|---|
| 405 | =================================================================== |
|---|
| 406 | --- wp-content/themes/twentytwelve/content-link.php (revision 21612) |
|---|
| 407 | +++ wp-content/themes/twentytwelve/content-link.php (working copy) |
|---|
| 408 | @@ -13,9 +13,9 @@ |
|---|
| 409 | <div class="entry-content"> |
|---|
| 410 | <?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentytwelve' ) ); ?> |
|---|
| 411 | </div><!-- .entry-content --> |
|---|
| 412 | - |
|---|
| 413 | + |
|---|
| 414 | <footer class="entry-meta"> |
|---|
| 415 | <?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<div class="edit-link">', '</div>' ); ?> |
|---|
| 416 | <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_date(); ?></a> |
|---|
| 417 | </footer><!-- .entry-meta --> |
|---|
| 418 | - </article><!-- #post --> |
|---|
| 419 | + </article><!-- #post-<?php the_ID(); ?> --> |
|---|
| 420 | Index: wp-content/themes/twentytwelve/editor-style.css |
|---|
| 421 | =================================================================== |
|---|
| 422 | --- wp-content/themes/twentytwelve/editor-style.css (revision 21612) |
|---|
| 423 | +++ wp-content/themes/twentytwelve/editor-style.css (working copy) |
|---|
| 424 | @@ -1,6 +1,6 @@ |
|---|
| 425 | -/** |
|---|
| 426 | -* Theme Name: Twenty Twelve |
|---|
| 427 | -* Description: Used to style the TinyMCE editor. |
|---|
| 428 | +/* |
|---|
| 429 | +Theme Name: Twenty Twelve |
|---|
| 430 | +Description: Used to style the TinyMCE editor. |
|---|
| 431 | */ |
|---|
| 432 | |
|---|
| 433 | html { |
|---|
| 434 | Index: wp-content/themes/twentytwelve/content-image.php |
|---|
| 435 | =================================================================== |
|---|
| 436 | --- wp-content/themes/twentytwelve/content-image.php (revision 21612) |
|---|
| 437 | +++ wp-content/themes/twentytwelve/content-image.php (working copy) |
|---|
| 438 | @@ -12,9 +12,9 @@ |
|---|
| 439 | <div class="entry-content"> |
|---|
| 440 | <?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentytwelve' ) ); ?> |
|---|
| 441 | </div><!-- .entry-content --> |
|---|
| 442 | - |
|---|
| 443 | + |
|---|
| 444 | <footer class="entry-meta"> |
|---|
| 445 | <h1><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1> |
|---|
| 446 | <h2><?php the_date(); ?></h2> |
|---|
| 447 | </footer><!-- .entry-meta --> |
|---|
| 448 | - </article><!-- #post --> |
|---|
| 449 | + </article><!-- #post-<?php the_ID(); ?> --> |
|---|
| 450 | Index: wp-content/themes/twentytwelve/search.php |
|---|
| 451 | =================================================================== |
|---|
| 452 | --- wp-content/themes/twentytwelve/search.php (revision 21612) |
|---|
| 453 | +++ wp-content/themes/twentytwelve/search.php (working copy) |
|---|
| 454 | @@ -16,7 +16,7 @@ |
|---|
| 455 | |
|---|
| 456 | <header class="page-header"> |
|---|
| 457 | <h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'twentytwelve' ), '<span>' . get_search_query() . '</span>' ); ?></h1> |
|---|
| 458 | - </header> |
|---|
| 459 | + </header><!-- .page-header --> |
|---|
| 460 | |
|---|
| 461 | <?php twentytwelve_content_nav( 'nav-above' ); ?> |
|---|
| 462 | |
|---|
| 463 | @@ -43,7 +43,7 @@ |
|---|
| 464 | <?php endif; ?> |
|---|
| 465 | |
|---|
| 466 | </div><!-- #content --> |
|---|
| 467 | - </section><!-- #primary .site-content --> |
|---|
| 468 | + </section><!-- #primary --> |
|---|
| 469 | |
|---|
| 470 | <?php get_sidebar(); ?> |
|---|
| 471 | <?php get_footer(); ?> |
|---|
| 472 | \ No newline at end of file |
|---|
| 473 | Index: wp-content/themes/twentytwelve/archive.php |
|---|
| 474 | =================================================================== |
|---|
| 475 | --- wp-content/themes/twentytwelve/archive.php (revision 21612) |
|---|
| 476 | +++ wp-content/themes/twentytwelve/archive.php (working copy) |
|---|
| 477 | @@ -49,7 +49,7 @@ |
|---|
| 478 | echo '<div class="archive-meta">' . $category_description . '</div>'; |
|---|
| 479 | } |
|---|
| 480 | ?> |
|---|
| 481 | - </header><!-- /. archive-header --> |
|---|
| 482 | + </header><!-- .archive-header --> |
|---|
| 483 | |
|---|
| 484 | <?php |
|---|
| 485 | /* Start the Loop */ |
|---|
| 486 | @@ -71,7 +71,7 @@ |
|---|
| 487 | <?php endif; ?> |
|---|
| 488 | |
|---|
| 489 | </div><!-- #content --> |
|---|
| 490 | - </section><!-- #primary .site-content --> |
|---|
| 491 | + </section><!-- #primary --> |
|---|
| 492 | |
|---|
| 493 | <?php get_sidebar(); ?> |
|---|
| 494 | <?php get_footer(); ?> |
|---|
| 495 | \ No newline at end of file |
|---|