How to create an alternate/second type of excerpt?
-
I know nothing about creating new functions, but I’m wondering if it’s possible to basically re-create the the_excerpt function but with another name.
I’d like to use the_excerpt for most posts, but I’m using WP Post Thumbnail 0.2 Beta 2, which automatically inserts thumbnails into my excerpt. However, on my “static” home page, I’ve set it to display the most recent post with a large image instead of a thumb, but I’d still only like it to show an excerpt of the text underneath. I can’t call the_excerpt without it wanting to also insert the thumbnail.
Is there a way I can create a second form of the excerpt? Basically recreate the original in terms of function, just with a different name? I assume someone would have wanted this before, perhaps maybe to change up the excerpt length from time to time, post to post.
- The topic ‘How to create an alternate/second type of excerpt?’ is closed to new replies.