Attachment pages in Child Theme
-
Help please.
I am trying to configure the attachment.php template and have copied the code supplied here: https://gist.githubusercontent.com/generatepress/4e033b8e30efce6cffc07fe34cb2ac58/raw/5a7c53fa553b015ec9f7b70d93e909597925e213/attachment.php as it was linked from the discussion here: Attachment page – GeneratePress
Right now, there is no image displaying and I have no idea what code to add or where to enable the image itself to display on the attachment page.
What code do I add and where so that my attachment pages will display the image for the attachment page?
Also, I use attachment pages for images (.PNG, .JPG, .WEBP) as well as documents (.PDF) and occasionally a small archive file (.ZIP).
How do I configure the attachment page code to display each of these types in their own unique way?
I am not a developer and so need baby step instructions on how to achieve the result I am after.
Many thanks in advance for your support and assistance.
The page I need help with: [log in to see the link]
- The topic ‘Attachment pages in Child Theme’ is closed to new replies.