Forums

Removing hypertext links in posts from main index page (3 posts)

  1. webquest
    Member
    Posted 4 years ago #

    Hi there!

    I have a blog and oftentimes I post external links in my posts above the <more> tag. This results in those links being visible on the homepage (main index) of the site, as well as any other listing of posts (categories, archives, etc.) It seems to be confusing for my visitors.

    Can anyone think of a way I could still display the teasers above the <more> tag on these pages without the links being active? I would only like the links active on the individual post pages.

    Any ideas? Thanks!

  2. Jeremy Clark
    Moderator
    Posted 4 years ago #

    Look in your themes main index template for the_content() replace it with the_excerpt().

    Resource:
    http://codex.wordpress.org/Template_Tags/the_excerpt

  3. webquest
    Member
    Posted 4 years ago #

    Ask and you shall receive. Thanks, Jeremy!

Topic Closed

This topic has been closed to new replies.

About this Topic