I am trying to:
On a CPT (Instructors) I have created a custom custom field where I use the 'Post Reference' field (Courses). At the moment you can only select one post on the 'Post Reference' drop down however I would like this to select multiple.
I have gone onto the Custom Fields section to click the option 'I need this field to repeat.' but this then pops up with an error saying the following:
'If you want to list several Course items, make a many to many relationship between Courses and Instructors. Then, you will be able to connect as many Courses to any Instructor.'
I already have a many to many relationship between Courses and Instructors so I don't understand why this is not working.
Hello. Thank you for contacting the Toolset support.
I have gone onto the Custom Fields section to click the option 'I need this field to repeat.' but this then pops up with an error saying the following:
'If you want to list several Course items, make a many to many relationship between Courses and Instructors. Then, you will be able to connect as many Courses to any Instructor.'
=>
As the notice suggest - to assign multiple Course and Instructors you will require many-to-many post relationship.
But as you acknowledged that you already created one and its not working.
How you find its not working. Can you please tell me. Where its not working.
Maybe you can share problem URL and admin access details.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
Well - as the notification suggest:
'If you want to list several Course items, make a many to many relationship between Courses and Instructors. Then, you will be able to connect as many Courses to any Instructor.'
==>
You must create many-to-many post relationship.
Then I logged in to admin section and I can see you already setup a many-to-many post relationship between post types course and instructors.
To connect the posts for course or instructor, you should add/edit the course/instructor post and at bottom of the page you will see a post-relationship box. Please check the following screenshot: hidden link
So there is no way on the admin panel you can multi select the courses... as these need to be broken up into NPORS Courses and CPCS courses (see attached).
If you want to select multiple course and multiple instructors then you need to rule-out the post-reference field and you need to focus on many-to-many post relationship.