WordPress.org

Ready to get started?Download WordPress

Forums

Add content within the_content() (1 post)

  1. JoE
    Member
    Posted 4 years ago #

    If an image is posted to the homepage, I want to link the image to the_permalink and also add a span within the a tag surrounding the image. The span says "read more", and I don't want it appearing once a user is reading the article, nor should the image link once the user is within the article. So, I'm guessing this needs to be written to my index.php only.

    Any ideas?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.