Home Forums Add-ons Gallery Field Display "categories" set to attachments in Gallery detail view


Display "categories" set to attachments in Gallery detail view

  • Hi folks,

    I’ve activated the native function of WordPress to support categories for attachements:

    function taz_addCategoriesToAttachments(){
    	register_taxonomy_for_object_type('category', 'attachment');
    add_action('init', 'taz_addCategoriesToAttachments');

    While browsing the Media in grid view mode, if you click an image, it opens above the grid view and displays some informations on a right column (see attached image). The “categories” field is visible on this area.
    Media Grid View

    However, if I click an image from a gallery field view to expand it’s details, the “categories” field does not appearΒ πŸ™ (see attached image)
    Gallery Field View

    Anything I can do to have it displayed?

    Thanks for your time and support.

  • Just did some digging around in ACF and the answer appears to be no. ACF does not include this field and there isn’t any way to add a filter to allow it. You might want to open a new support ticket here

  • Hi John,

    Thanks a lot for your answer. I’ll instantly do this.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.