Full Article
-
I am trying to get my site ready for CSS Reboot, and I have decided that I want to show the full article on the home page. For some reason it is showing an excerpt and displaying the read more link.
This is the code:
<?php if ($posts) : foreach ($posts as $post) : start_wp(); ?>
<div class=”articleTitle”>” rel=”bookmark” title=”Permanent Link: <?php the_title(); ?>”>
<?php the_title(); ?>
</div>
<!– end of article title –><?php the_content(); ?>
<div class=”updatedBox”>
<div class=”updated”>
<?php the_time(‘jS F Y’); ?>
| <span class=”viewComment”>
<?php comments_popup_link(); ?>
</span> | <span class=”category”>
<?php the_category(‘,’); ?>
</span></div> <!– end of updated –>
</div> <!– end of updatedBox –>
<?php wp_link_pages(); ?>
<?php include(ABSPATH . ‘wp-comments.php’); ?>
<?php endforeach; else: ?><?php _e(‘Sorry, no posts matched your criteria.’); ?>
<?php endif; ?>
Any ideas?
Here is the page link too:
- The topic ‘Full Article’ is closed to new replies.