Link to first image attachment in a wordpress post
- by mattloak
How would I create a text link to the first image attachment page in a wordpress post without trying to figure out what the slug will be after it is published. I realize that I can link the images to their attachment page but I wan't to be able to create a text link. Is this possible?