Support

Account

Home Forums Backend Issues (wp-admin) Add category to file and filter media library Reply To: Add category to file and filter media library

  • To make attachment management easier, I put it into categories*.

    I have a ACF form with a file field. When file button is hit, media library modal box appears (I don’t know how to simple have a file uploader in backend like in frontend with ‘uploader’ => ‘basic’). I would like to only display files of this CPT and, obviously, a specific category must be added to this file on upload.

    Is it more understandable ?

    (*) attachment support categories with register_taxonomy_for_object_type( ‘category’, ‘attachment’ ) ; I prefer to use WP Media Category Management for that, because it add select field to filter attachment by category.