forked from kre8tiv/Joseph-knows-best
-
Notifications
You must be signed in to change notification settings - Fork 0
/
content.php
33 lines (18 loc) · 1001 Bytes
/
content.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
<article id="post-<?php the_ID(); ?>" <?php post_class('clearfix postlist'); ?> role="article">
<?php if ( has_post_thumbnail() ): ?>
<a href=" <?php the_permalink(); ?>" class="postimglist"><?php the_post_thumbnail('listenansicht'); ?></a>
<?php endif; ?>
<header class="article-header">
<?php $posttags = get_the_tags();
if ($posttags) {
?><p class="subhead"><?php
foreach($posttags as $tag) {
echo '' .$tag->name. ' ';
}
?></p><?php
}
?>
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
</header>
<section class="article-teaser"><?php the_excerpt(); ?></section>
</article>