Support » Fixing WordPress » display attachment on category page?
4 years ago
I added categories to the media library by using the function:
register_taxonomy_for_object_type ('category', 'attachment');
But it works only on the admin panel (back end). I am looking for a way to display the posts (attachment) in category page on the site itself (front end).
Can anyone help?