mirror of
https://git.sindominio.net/estibadores/wordpress.git
synced 2024-11-23 02:51:06 +01:00
33 lines
614 B
PHP
33 lines
614 B
PHP
|
<?php
|
||
|
/**
|
||
|
* Template Name: Sidebar Template
|
||
|
*
|
||
|
* Description: A Page Template that adds a sidebar to pages.
|
||
|
*
|
||
|
* @package WordPress
|
||
|
* @subpackage Twenty_Eleven
|
||
|
* @since Twenty Eleven 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_sidebar(); ?>
|
||
|
<?php get_footer(); ?>
|