function theme_post_wrapper($args = '') {
$args = wp_parse_args($args, array(
'id' => '',
'class' => '',
'title' => '',
'heading' => 'h2',
'thumbnail' => '',
'before' => '',
'content' => '',
'after' => ''
)
);
extract($args);
if (theme_is_empty_html($title) && theme_is_empty_html($content))
return;
if ($id) {
$id = ' id="' . $id . '" ';
}
if ($class) {
$class = ' ' . $class;
}
?>
<article<?php echo $id; ?> class="art-post art-article <?php echo $class; ?>">
<?php
if (!theme_is_empty_html($title)) {
echo '<'.$heading.' class="art-postheader">'.$title.'</'.$heading.'>';
}
?>
<?php echo $before; ?>
<?php echo $thumbnail; ?><div class="art-postcontent clearfix"><?php echo $content; ?></div>
<?php echo $after; ?>
</article>
<?php
}
Category.php
Open in new window
content-excerpt.php
Open in new window
Ive tried many variants to include the_post_thumbnail() with no result.
Any idea where to look further on?
Thanks in advance.
Regards,
Raul M.