Support » Fixing WordPress » Why are links disabled in post teaser (text before "read more")?
5 years, 11 months ago
is it “OK”, that the links are disabled in post teasers? You know, this part before “Read more”. Or is it a special “feature” of my theme?
I’ve took a look in index.php but there is no code such “disable links”.
Take a look here:
E.g. the text “auf Facebook eintragen” is linked.
Thank you in advance!
Volunteer Forum Moderator
Sorry, but I don’t understand what you mean.
When I go to your site, I see an excerpt with two links (INDABAHN and auf Facebook eintragen) then the read more.
They don’t look disabled to me and link to the appropriate pages.
sorry, haven’t updated now. I’ve found the reason: the theme I am using fetches the teaser via the_excerpt() and it seems like it removes the a-tag…. I’ve changed it to the_content().
More info here: http://codex.wordpress.org/Function_Reference/the_excerpt#the_excerpt.28.29_vs._the_content.28.29