Skip to content

Content Type: Portfolio

Justin Tadlock edited this page Jul 31, 2014 · 16 revisions

Portfolio

This is the proposed standard for portfolios and how plugins should handle them. It is an incomplete standard and pending further discussion.

Post type

  • portfolio_project

Taxonomies

Category

This is a general-purpose, hierarchical taxonomy for portfolio projects.

  • Taxonomy name: portfolio_category

Tag

This is a general-purpose, non-hierarchical taxonomy for portfolio projects.

  • Taxonomy name: portfolio_tag

Metadata

Note that all metadata doesn't necessarily have to be used by all plugins. This is simply a standard so that plugin authors will know exactly how to name and format their metadata.

Project Media

This meta key can have single or multiple values. Each value would either be an ID to represent and media attachment or a string for embedding.

  • Meta key: _project_media
  • Meta value: 0 (attachment ID) or http://youtube.com/xafadfa (string)

Project URL

This meta key represents a URL to another Web site or page for the particular project.

  • Meta key: _project_url
  • Meta value: http://example.com (URL string)

Project Client

This meta key holds the name of the client (person, business, etc.) for the project.

  • Meta key: _project_client
  • Meta value: John Doe (text string)

Project Start Date

Date the project started. Follow date/time metadata standard.

  • Meta key: _project_start_date
  • Meta value: 0000-00-00 (year-month-day)

Project End Date

Date the project was completed. Follow date/time metadata standard.

  • Meta key: _project_end_date
  • Meta value: 0000-00-00 (year-month-day)

Project Location

Location of the project if it exists.

  • Meta key: _project_location
  • Meta value: City, State/Province, Country (text string)