Support » How-To and Troubleshooting » display attachment on category page?
3 years, 6 months 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?