WordPress.org

Ready to get started?Download WordPress

Forums

display attachment on category page? (1 post)

  1. avigeresh
    Member
    Posted 1 year ago #

    Hello!

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic