On my blog on all my main loops I have it set to show the excerpt
instead of the content
If I make a longer post and leave the excerpt
text box empty, then wordpress will make it’s own excerpt from my post and show the [...]
or a custom link at the end. Thats great however if I DO enter my own excerpt into the excerpt textbox, it will show that text but it will not show the read more part added to it.
Does anyone know how I can make it always show a read more?
Perhaps a conditional statement like the following will work. The logic is: “If the post has an explicit excerpt, add a read more link. Otherwise, use default excerpt behavior.”
You can use this in combination with Gavin’s suggestion to unify the appearance of the “Read More” link.
I know that question was more than 2 years ago but I think here’s more correct answer.
Even if your excerpt is filled the “readmore” link will be print after the excerpt paragraph.
Add this in your theme’s functions.php:
More info: Make the “read more” link to the post
Good luck!
I know it’s three years late, but I found a better solution that it can even help me in the future:
First, clean the default excerpt more to remove the default ellipses
[...]
:Then, we get the excerpt and add the link inline, into the same excerpt paragraph! (Most of the solutions above show the link out of the paragraph, in a new line).
Edit: A final note. You don’t need to modify nothing else. Use
the_excerpt();
normally to display the excerpt with the link.Hope it helps to someone 🙂