I’ve added a few different custom_post_types
to my WordPress 3 installation. They are all a bit different from eachother, and should store unique information in custom_fields
. But while one may store a product_id
, another will not. One will have a source_url
and another will not. Rather than having to instruct my editors on which custom fields should be used with which custom posts, how can I make each custom post include its custom fields as part of the UI itself?
If you visit “daily_cartoon” you would have a screen that asks only for a title, caption, and media.
If you visit “daily_product” you would have a screen that asks only for a title, price, summary, etc.
Hi @Jonathan Sampson:
There are several plugins to make Custom Post Types easier and some allow you to define Custom Fields too, in no particular order:
- WP Easy Post Types
- GD Custom Posts And Taxonomies Tools
- Custom Post Type UI
- Simple Fields
As I mentioned above I’ve been working on one that does not provide a User Interface like these to instead an extensible API for complex field types (and simple ones too.) But after spending an hour trying to package it I realized it’s not ready for distribution yet. Maybe in a few weeks.
These plugins listed above should meet your basic needs for now and I will try to make mine compatible with the data stored by all of these in the future in case you do decided to use mine in the future.
You also might find this post a bit of help too:
- Tips for using WordPress as a CMS?