• Hello,

    I am using the standard [gallery] short code, when I click on one of those images in the gallery, I get taken to:

    ?attachment_id=146

    Where can I edit this template?

    Thanks for the help

    Mike

Viewing 3 replies - 1 through 3 (of 3 total)
  • Look for attachment.php or image.php in your theme. If you don’t have either of these, then your images will be using the single.php template. Failing that, index.php.

    Thread Starter mdumka

    (@mdumka)

    Thanks esmi … but no luck. I played with attachment.php, image.php, single.php and index.php and nothing.

    Here is the page, maybe that will shed some light

    https://stonewalljets.ca/?attachment_id=146

    If there’s an image.php file in the theme, it should be used. Followed by attachment.php etc. What do you have in image.php?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Question about attachment_id’ is closed to new replies.