Wordpress : Custom columns for edit / post views in the admin


/ Published in: PHP
Save to your folder(s)

The code references a custom post type (mysite_listings) and adds custom columns for editing the listings in the admin. This adds custom fields onto the edit / list views.

Note: You will want to change instances of "mysite_listings" with your own post type as well update the column I've defined to match your own.

URL: http://codex.wordpress.org/Custom_Fields

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.