WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Why are links disabled in post teaser (text before "read more")? (3 posts)

  1. screencastblog
    Member
    Posted 3 years ago #

    Hello guys!

    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:
    http://streetelitarecords.com/

    E.g. the text "auf Facebook eintragen" is linked.

    Thank you in advance!

  2. 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.

  3. screencastblog
    Member
    Posted 3 years ago #

    Hi,

    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

Topic Closed

This topic has been closed to new replies.

About this Topic