Make WordPress Core


Ignore:
Timestamp:
02/14/2012 03:54:46 AM (13 years ago)
Author:
lancewillett
Message:

Twenty Twelve template changes and fixes ... see #19978.

  • Add custom header support
  • header.php: use get_stylesheet_uri() to load stylesheet, props Mamaduka
  • Add full-width template, including adding relevant body_class value as a CSS hook
  • Hide sidebar on all views if no active widgets exist
  • Fix site title output (was missing site title)
  • Remove "featured" title for sticky posts
  • Add content template files for aside, image, link, and quote post formats
  • Indent content-single.php to match content.php
  • Remove sample JPG since Twenty Twelve ships with no default header images

... and style updates, props drewstrojny

  • Better footer styles
  • Styling for full-width layouts
  • Add basic styles for archive views
  • Refine post header/footer styles a bit
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentytwelve/index.php

    r19842 r19915  
    1717    <div id="primary">
    1818        <div id="content" role="main">
    19         <!-- Placeholder for optional header image
    20         <section role="banner">
    21             <img src="<?php echo get_stylesheet_directory_uri(); ?>/images/flowers.jpg" width="625" height="188" />
    22         </section>
    23         -->
    2419        <?php if ( have_posts() ) : ?>
    2520
Note: See TracChangeset for help on using the changeset viewer.