WordPress.org

Ready to get started?Download WordPress

Forums

Dynamically Assign a Featured Image a link? (1 post)

  1. B1gJ4k3
    Member
    Posted 2 years ago #

    I've got a situation where I'm using a featured image on the single.php page and I'd like to assign a custom link to it. I was hoping I could just assign the Link URL under the image properties, use the image as the featured image and it would just automatically link, but that doesn't work.

    I could always do it with a custom field, but I'd like to avoid that, if possible. Is there a way I can dynamically assign a link (that's maybe Link URL?) when the featured image gets pulled in? That would be ideal.

    Anybody have any bright ideas?

Topic Closed

This topic has been closed to new replies.

About this Topic