added files for said branch

This commit is contained in:
Willi Junga 2020-12-04 11:07:37 +01:00
parent 1ca03fd14b
commit 13f6bc5203
Signed by untrusted user: JunWi
GPG key ID: 16CD94732DE08DA5
8 changed files with 464 additions and 5 deletions

39
content-list-home.php Normal file
View file

@ -0,0 +1,39 @@
<article id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?> role="article">
<?php if ( has_post_thumbnail() ): ?>
<a href="<?php the_permalink(); ?>" class="postimglist"><?php the_post_thumbnail('titelbild'); ?></a>
<?php endif; ?>
<header class="article-header">
<?php $posttags = get_the_tags();
$count=0;
if ($posttags) {
?><p class="subhead"><?php
foreach($posttags as $tag) {
$count++;
if (1 == $count) {
echo ''.$tag->name;
}
elseif ($count > 1) {
echo ', '.$tag->name;
}
}
?></p><?php
}?>
<h1><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
</header>
<section class="article-teaser"><?php the_excerpt(); ?></section>
</article>