-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.php
32 lines (25 loc) · 1005 Bytes
/
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
<?php get_header(); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div id="single">
<h1><?php the_title(); ?></h1>
<?php
if ( has_post_thumbnail() ) { ?>
<?php
$imgsrcparam = array(
'alt' => trim(strip_tags( $post->post_excerpt )),
'title' => trim(strip_tags( $post->post_title )),
);
$thumbID = get_the_post_thumbnail( $post->ID, 'big', $imgsrcparam ); ?>
<div class="sepia">
<div class="preview"><a href="<?php the_permalink() ?>"><?php echo "$thumbID"; ?></a></div>
</div><!-- .sepia -->
<?php } ?>
<?php the_content(); ?>
<?php edit_post_link(__('Edit this page')); ?>
</div>
<?php endwhile; ?>
<?php else : ?>
<?php endif; ?>
<?php include (TEMPLATEPATH . "/sidebar.php"); ?>
<?php include (TEMPLATEPATH . "/last.php"); ?>
<?php get_footer(); ?>