Tell us what you are trying to do?
I have a custom post type Companies. I want to add a new custom post type for Staff and assign them to the companies, then create a template that shows the company details along with a list of staff and their photos.
Is there any documentation that you are following?
I was looking at your gyms/trainers site but there isn't documentation but rather videos.
Is there a similar example that we can see?
I think your gyms/trainers is a good example. Not sure if you are using two different post types though.
What is the link to your site? hidden link
USERNAME: fonmdev
PASSWORD: kosher
FYI I am wanting two different post types for companies and staff because I am importing them in using the Ultimate CSV Importer Pro. I want to load up the companies, then load up the staff and have them linked up. I have assigned a unique company id to the import for company and staff imports so hopefully it could be used to link the two together.
Hello. Thank you for contacting the Toolset support.
As I understand, you have two post types companies and Staff created using the Types plugin and you are importing the posts to those post types using the Ultimate CSV Importer Pro.
First of all, I would like to know, what post-relationship you want to establish between your post types companies and Staff?
- one-to-many or many-to-many?
Also, I would like to know, when you are importing the posts to your post types companies and Staff using Ultimate CSV Importer Pro - do you want to connect the posts with post-relationship at the time you import the post or you want to connect the post after you import the posts manually?
The relationship is most likely one to many (one company, many staff). If it is possible to have Many to Many that may come in handy in the future, but I don't know if that is necessary and may complicate resolving this issue.
I would like to import the companies first, the import the staff separately and connect them to the company during that import. I have added a unique ID field to the companies list called SFOID and added that to the staff worksheet so I can link them up in the future.