I am trying to: Create a many-to-many post relationship between a custom post type called "Program", which has a relationship with another post type called "Schedule". The Program stores details of by me associating a Post Fields group for it and same with the Schedule, I associate a different Post fields group to it.
Link to a page where the issue can be seen: (Only in the admin)
I expected to see: I expect to have the ability to add or edit either a "Program" or "Schedule" custom post once I've created the many-to-many relationship between them and be able to see the custom fields assigned to both.
Instead, I got: When I go to add or edit a "Program" post type, I can see all the custom fields there, at the bottom of the post type, if I choose to Add a new "Schedule" now that a relationship has been created, a modal pops up and I can see all the custom fields for that post type. However, if I go directly in to edit a "Schedule" and not do it through the relationship table in the "Program" post, then I don't see any of the custom post fields I have assigned to that post type.
Is this by design? I would have assumed custom fields would have still been available when editing both sides directly.
Hello,
Thanks for the details, I can see the problem in your website, and I am downloading the files, will update here if there is anything found.
Here are what I found, the problem is in plugin "WP Redis", I have tried these in my localhost:
1) Deactivate plugin "WP Redis"
2) Remove file \wp-content\object-cache.php
Then I can see the custom field when edit single "Schedule" post, see screenshot: schedule.JPG
Hey Luo Yang, spot on with diagnosis. Object caching with WP-Redis, I'll look more into this plugin. It was installed by default with EasyEngine when you create a site with caching enabled, so I might need to look at an alternative.
Thanks once again!