Attachment.php doesn’t seem to work.
-
I’ve been uploading images and putting them into posts with the link option set to “page”. I have uploaded attachment.php from the default theme into my theme clicking on the image should load a page with attachment.php template.
This doesn’t seem to work, clicking an image simply takes you back to the index.php template. The link the image takes you to is /category/post-title/image-title/ (obviously with the relevant category, post title etc. in the link). Does anyone know why this might be happening or any workarounds to display the images in a page rather than on their own as files (I need them in a page to show licensing info and such)
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Attachment.php doesn’t seem to work.’ is closed to new replies.