Attachment page displaying the wrong category…
-
This entry is under the category structure “gallery”->”specific artist name”
https://tinyurl.com/ygasshNow, if you click “more info” you can click “view detail” which is an attachment for that entry. Or you can just go here: https://tinyurl.com/yn9lht
You’ll notice that the header changes from the artist’s name to “Art News” which is a different category entirely. Any idea why it might be showing the wrong categoryy there? I’m just using
<?php the_category('') ?>
and switching to the default template shows the same error. Is there a way to specify which category an attachment is in? Shouldn’t it be the same as the entry that the attachment is tied to?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Attachment page displaying the wrong category…’ is closed to new replies.