Post Meta for Custom Post Types
-
I am using WordPress to build a job website and a huge portion of my website is involved with storing and retrieving user information to and from the database.
There are three types of custom posts on the website Jobs, Resumes and Companies. Here are my questions :
1. Are the fields in the wp_postmeta table common to all of the post types. Meaning, if a Resume has ‘education level’ meta field, will Companies also have it?
2. How do I add more fields in the wp_postmeta table if that is required. I am looking for a method that involves writing code in the theme files and not directly adding fields to the database tables from phpmyadmin.
Any help on these topics is very much appreciated.
- The topic ‘Post Meta for Custom Post Types’ is closed to new replies.