ultrazero
Member
Posted 3 years ago #
Hello. I hope this is in the right forum.
My theme uses excerpts on the front page that show my latest blog posts. When a post is too long for the excerpt is will show there is more to read with [...] added to the end of it.
How can I change it so [...] is a link to that post? Or possibly customize it to something else.
Thanks
nathanegriffin
Member
Posted 3 years ago #
I think you use the_excerpt? You get what you are looking for if you simply use the more tag instead, or an excerpt plugin such as Excerpt Editor.
nathanegriffin
Member
Posted 3 years ago #
@Gangleri
the_excerpt is not what ultrazero is looking for. There are parameters for the template tag the_content() which will enable ultrazero to customize the look and functionality of the "read more" (or [...] as the case may be)
The link I provided explains in more detail
ultrazero
Member
Posted 3 years ago #
Thanks guys.
Actually my template IS using the the_excerpt tag and not the_content.
Perhaps I should switch it to the_content? Seems more powerful.
Inspite of what Nathan says, I think there is no customising the read-more when you use the_excerpt. I'd just go for a plugin (and use the_content), Excerpt Editor is nicely flexible.
Actually, you can change the [...] to a clickable read more link. I blogged about this earlier this month here: http://lynnepope.net/the-excerpt-revisited
Elpie you are an angel! This is exactly what I have been looking for. And so perfectly simple too. Thank you for this.
ultrazero
Member
Posted 3 years ago #
exactly what I wanted to do. thank you elpie!