HOWTO create new structured data types
-
Hi All
I am trying to create a plugin that allows the administrator to create new structured content. For instance, say I would like to create a website that has searchable book reviews. A book review has a book title, author, number of pages, date reviewed, reviewer and the review itself.
All this data would obviously be stored in a new database table and there should be some way of displaying a list of all the book reviews (possibly searchable). There must be a form for new book reviews to be created as well as other assorted maintenance functions such as edit and delete.
In other words, I would like to extend the post or page data types and create the book review type. Does anyone have any advice on how to start. I’ve had a look at the page data type but the code doesn’t seem like it was developed with reuse in mind. Alternatively, are there any similar plugins that I could have a look at?
Thanks
Adi
- The topic ‘HOWTO create new structured data types’ is closed to new replies.