This template enables you to customize/modify the default attachment page output for images.
On the attachment page, you can :
- Set the size of the attachment image
- Set the text before link
- Link the image on the attachment page back to the original parent post
In the following example, we only show the attachment page image title, link to parent post and image. All other elements are removed using code in the template which you can remove or modify to show any default elements.
Demo Video #
Shows the image upload to the parent post linked back from the attachment page to the parent posts where it was originally uploaded. Also includes a link back to the parent post with text displaying before the attachment image.
Tested using the Metro Pro child theme by StudioPress however will work in any Genesis child theme.
Code Installation #
There’s only 1 step :