[Resolved] Full article for first post excerpts for the rest?
Hi I am using the Therapy theme, I would like the newest post to display in full on the homepage but every post after that I would like to display only the excerpt I searched the forums and found that I could replace my the_content area with <?php if (!i) the_content(); else the_excerpt(); i=1; ?> to accomplish this but that gave me an error. Here is what the current the_content section looks like in my themes index.php:
<?php if ( get_option(‘woo_content_home’) == “true” )
the_content(‘[…]’); else the_excerpt(); ?>
Thanks in advance!
- The topic ‘[Resolved] Full article for first post excerpts for the rest?’ is closed to new replies.