mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-05 18:32:23 +01:00
ed2548bb22
* 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 git-svn-id: http://svn.automattic.com/wordpress/trunk@19915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
23 lines
478 B
PHP
23 lines
478 B
PHP
<?php
|
|
/**
|
|
* Template Name: Full-width page, no sidebar
|
|
*
|
|
* @package WordPress
|
|
* @subpackage Twenty_Twelve
|
|
* @since Twenty Twelve 1.0
|
|
*/
|
|
|
|
get_header(); ?>
|
|
|
|
<div id="primary">
|
|
<div id="content" role="main">
|
|
|
|
<?php while ( have_posts() ) : the_post(); ?>
|
|
<?php get_template_part( 'content', 'page' ); ?>
|
|
<?php comments_template( '', true ); ?>
|
|
<?php endwhile; // end of the loop. ?>
|
|
|
|
</div><!-- #content -->
|
|
</div><!-- #primary -->
|
|
|
|
<?php get_footer(); ?>
|