forked from NB-Public/jkb-childtheme
added files for said branch
This commit is contained in:
parent
1ca03fd14b
commit
13f6bc5203
8 changed files with 464 additions and 5 deletions
28
content-list-small.php
Normal file
28
content-list-small.php
Normal file
|
@ -0,0 +1,28 @@
|
|||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class('postlist-small'); ?>>
|
||||
|
||||
<header><p class="artikelinfo"><time datetime="<?php the_time('c'); ?>"><?php the_time('j. F Y'); ?></time></p>
|
||||
<h2 class="title"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"> <?php $posttags = get_the_tags();
|
||||
$count=0;
|
||||
if ($posttags) {
|
||||
?><span><?php
|
||||
foreach($posttags as $tag) {
|
||||
$count++;
|
||||
if (1 == $count) {
|
||||
echo ''.$tag->name;
|
||||
}
|
||||
elseif ($count > 1) {
|
||||
echo ', '.$tag->name;
|
||||
}
|
||||
}
|
||||
?></span><?php
|
||||
}?> <?php the_title(); ?></a></h2>
|
||||
</header>
|
||||
<aside>
|
||||
|
||||
</aside>
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
Reference in a new issue