Hi Guys,
I’m sure this is only a quick one for someone clued up on php coding, but no matter what I try, I cannot get it to work ! I have the following php code in my theme functions.php code sheet;
[php] echo " <a href=’"; the_permalink();
echo "'>"."...Read More On ";
the_title_shorten(45,'...');
echo "</a>";[/php]
I know that this creates a link to the full article from an excerpt on the home page, but the problem is, it is including the words “Read More On” in the hyperlink, which I feel is not good from a SEO point of view !
Therefore I would be very grateful if someone could show me how to rewrite this piece of code so that the “Read More On” would come before the hyperlink & not be included in it.
Cheers Guys