post-homepage.php

<?php global $theme; ?>

<div <?php post_class(‘post clearfix’); ?> id=”post-“>

<?php
if(has_post_thumbnail())  {
?><a href=”<?php the_permalink(); ?>”>php the_post_thumbnail(
array($theme->get_option(‘featured_image_width’), $theme->get_option(‘featured_image_height’)),
array(“class” => $theme->get_option(‘featured_image_position’) . ” featured_image”)
); ?></a><?php
}
?>

<h2 class=”title”>php the_permalink(); ?>” title=”” rel=”bookmark”>

<div class=”postmeta-primary”>

<span class=”meta_date”><?php echo get_the_date(); ?></span>
&nbsp;  php the_category(‘, ‘); ?>
</div>

<div class=”entry clearfix”>

<?php

substr( the_content(”),0,300);
?>

</div>

<?php if($theme->display(‘read_more’)) { ?>
<div class=”readmore”>
<a href=”<?php the_permalink(); ?>#more-php the_ID(); ?>” title=”” rel=”bookmark”>option(‘read_more’); ?>
</div>
<?php } ?>

</div><!– Post ID <?php the_ID(); ?> –>

Leave a Reply

Your email address will not be published. Required fields are marked *

Top