-
Notifications
You must be signed in to change notification settings - Fork 0
/
single-espetaculos.php
38 lines (26 loc) · 1.11 KB
/
single-espetaculos.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php get_header( 'single-e-pages' ); ?>
<div id="conteudo-single-cpt">
<div id="esquerda-single-cpt">
<div id="post-single-cpt">
<!-- Inicio Loop -->
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php if ( is_front_page() ) { ?>
<h2 class="entry-title"><?php the_title(); ?></h2>
<?php } else { ?>
<h1 class="entry-title"><?php the_title(); ?></h1>
<?php } ?>
<div class="entry-content">
<?php the_content(); ?>
<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?>
<?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="edit-link">', '</span>' ); ?>
</div><!-- .entry-content -->
</div><!-- #post-## -->
<?php comments_template( '', true ); ?>
<?php endwhile; ?>
<!-- Fim Loop -->
</div><!-- #post-single-cpt -->
</div><!-- #esquerda-single-cpt -->
<?php get_sidebar( 'single-e-pages' ); ?>
</div><!-- #conteudo-single-cpt -->
<?php get_footer( 'espetaculos' ); ?>