Media item permalink goes to source file instead of attachment.php

by nathanbweb   Last Updated July 18, 2019 14:08 PM

My Media Library permalinks are bringing up the source items directly and seem to be ignoring my attachment.php file.

This is happening for both attached and unattached files.

I'm trying to use attachment.php to show meta information and custom taxonomies. Should I do something with single.php to try to get it to recognize the existence of attachment.php, or is there something else I should do?



Related Questions


Any reason why Media Library Won't Show

Updated September 28, 2017 18:08 PM

Checkbox group on attachments page

Updated July 11, 2015 13:03 PM

How to Fix HTTP Error When Uploading Images?

Updated October 18, 2017 14:08 PM

Perform a custom (bulk) action in media view

Updated March 27, 2017 11:08 AM