Skip Navigation

[Résolu] How can I add custom fields to the admin custom post types listings

This support ticket is created Il y a 8 années et 11 mois. 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 2 réponses, has 2 voix.

Last updated by yvesM Il y a 8 années et 11 mois.

Assisted by: Waqas.

Auteur
Publications
#273238

How can I show custom fields in the admin custom post listing?
Ex. I added an image for a product (custom post type), and want this to show in the listing for the custom post type of the products in the admin console of my wordpress site.
How to do this for any of the custom fields?

#273454

Waqas
Supporter

Languages: Anglais (English )

Timezone: Asia/Karachi (GMT+05:00)

Please consider looking at following links:

Tutorial: http://code.tutsplus.com/articles/add-a-custom-column-in-posts-and-custom-post-types-admin-screen--wp-24934

'manage_posts_custom_column' WP Action: http://codex.wordpress.org/Plugin_API/Action_Reference/manage_posts_custom_column

You will need to add custom code to your functions.php to add more (custom) columns to an admin screen. However, there are also 3rd party plugins available for this purpose, such as https://wordpress.org/plugins/codepress-admin-columns/

#273919

that works just great! even the free version, thanks a lot.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.