-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage.php
33 lines (32 loc) · 1.04 KB
/
page.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
<?php get_header(); ?>
<div class="narrowcolumn singlepage">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post">
<h2><?php the_title(); ?></h2>
<div class="entry">
<?php t_show_video($post->ID); ?>
<?php the_content(); ?>
<div class="clear"></div>
</div>
<p class="postmetadata">
<?php wp_link_pages(array('before' => '<p><strong>' . __('Pages:', 'silesia' ) . '</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?> <?php edit_post_link(__('Edit','silesia'), '<p>', '</p>'); ?>
</p>
</div>
<div class="page comments" id="comments">
<?php comments_template( '', true ); ?>
</div>
<?php endwhile; ?>
<?php endif; ?>
</div> <!-- END Narrowcolumn -->
<div id="sidebar" class="profile">
<?php if (!is_active_sidebar(2)) {
get_sidebar();
} else {
echo '<ul>';
dynamic_sidebar('sidebar-2');
echo '</ul>';
} ?>
</div>
<div class="clear"></div>
<?php get_footer(); ?>