WordPress.org

Support

Support » How-To and Troubleshooting » display attachment on category page?

display attachment on category page?

  • avigeresh
    Member

    @avigeresh

    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?

  • The topic ‘display attachment on category page?’ is closed to new replies.