Filter not appearing for custom field when Featured Image absent
-
The media taxonomy filter doesn’t seem to appear in the file upload dialog for a custom field (CMB2) for a certain post type. It’s a non-public post type which doesn’t have the ‘Featured image’ metabox (‘thumbnail’ absent from ‘supports’ array when registering post type). I tried adding support for ‘thumbnail’ to see if the filter was in that dialog, and it was. It was also now in the custom field dialog.
I assumed there’s a check in the plugin but I can’t find ‘post_type_supports’ or ‘thumbnail’ in there. Is there another check I’m missing or is this something in core which F4 is interacting with?
Can you see a way to make the taxonomy filter appear on file upload custom fields even when the post type doesn’t support the core ‘thumbnail’?
- The topic ‘Filter not appearing for custom field when Featured Image absent’ is closed to new replies.