sailormarcus
Member
Posted 2 years ago #
I noticed that there isn't any parameter for the_excerpt, like there is for the_content, where you can get a "Read more" link. I'm using the_excerpt but I'd still love to have a "read more" link at the end of every excerpt. I tried and doing it manually but the "Read more"-link always got one line below the rest of the entry.
I.e. instead of
Bla bla bla bla very interesting article bla bla bla bla Read More...
I get
Bla bla bla bla very interesting article bla bla bla bla
Read More...
Any ideas on what to do?
I want to do the exact same thing and I don't see any resolution (why is this marked "resolved"?). In fact, I don't even get as far as the original poster. I can't generate a "read more" link anywhere while using the_excerpt tag. What is the solution?
I have a solution but this is simply not allowing me to post the code, backticks or not.
Signal Blog
Member
Posted 1 year ago #
wp-includes\formatting.php
find : array_push($words, '[...]');
(line 839)
replace with: array_push($words, '[<a href=\"' . the_permalink() .'\" rel=\"bookmark\">Read more...</a>]');
http://www.signalblog.com
Vu D. Hung