Skip Navigation

[Resolved] Show media custom fields in media attachment details

This support ticket is created 5 years, 6 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 5 replies, has 2 voices.

Last updated by Ben 5 years, 6 months ago.

Assisted by: Shane.

Author
Posts
#1242260

Ben

Is there a way to show custom fields that are assigned to "media" in the attachment details section/display that is shown when you click on a media item in the back end?

#1242264

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Ben,

To do this you will need to list out the media items using views.

Then from there you can display the custom fields of that media item.

Not sure why you would add a custom field to the media item and not the post that it is attached to but this is the way to do it.

Thanks,
Shane

#1242265

Ben

There's no way to do this without using Views and the front end?

I was looking at being able to use custom fields to categorise the media library on the back end.

#1242326

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Ben,

There are ways to do it but it would involve custom coding to achieve.

Thanks,
Shane

#1242327

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

It would involve writing a custom query or building a custom template with the query to get all the media library items

#1242352

Ben

Thank you Shane!