Generic Parent Child Custom Post Types
开发者 |
ourvalley
|
更新时间 |
2012年2月7日 00:11 |
PHP版本: |
3.0 及以上 |
WordPress版本: |
3.3 |
详情介绍:
Generic parent child custom post type is simply a plugin that gives an example of how to create two custom post types where one is the parent and you can assign any number child posts to it.
The two post types are called Parents and Children. As an example you could call them Car Dealership and Cars and assign a bunch of cars to a dealership.
There is an example template file included which displays the parent post as well as a list of all the children posts assigned to it.
It's really more of a starting point but it does work.
Requires WordPress 3.0 and PHP 5.
安装:
- Upload the file to the WordPress plugin directory,
- Activate the plugin,
- Parents will show up in the admin menu