Wiki
Clone wikiwww / WordPress datamodel
WordPress datamodel for OCToolbox
This page descibres the elements of this plugin from a technical point of view. Please refer to the Conventions page for the decsription of all the elements from a user point of view.
This is a work in progress and may not be fully complete yet...
Introduction
This is a description of the datamodel I've used built upon the types available in WordPress.
Project
- A Project is a custom post type (CPT) 'project'.
- A Project is automatically added to the custom taxonomy (CT) 'oct-project'. A Project's post_title == term_name.
- A Project consists of:
- A title, description, featured image
- One Client.
- One or more Product(s)
Client
- A Client is a 'client' CPT.
- A Client is connected with a Project via the Client post->ID in the metadata of the Project
- A Client consists of:
- A title, description, featured image
- One Person (contact)
Product
- A Product is a 'product' CPT
- A Product may be connected to one or more Project via the 'oc-projects' taxonomy
- A Product consists of
- A title, description, featured image
- One or more project phases using the 'phase' CT. Prefer by default one
- One or more license using the 'license' CT. Prefer by default one
- One or more people involved using the Person CPT
- One source url as metadata of the Product CPT
Updated