I have the following piece of code which outputs a long article:
<?php the_content(); ?>
I am trying to show only an excerpt of the article (the first 29 words), strip out the HTML and add a “…more” at the end.
<?php substr(the_content, 29) ?>
I have tried this but it has no effect on the length.
Any help? Thanks
What you need is the_excerpt