I am trying to: show a CRED form to allow users to write reviews directly on a custom post type page.
I have a parent custom post type of 'vendor' and a child custom post type of 'vendor-review'. I would like to have one page which shows the vendor single listing details (which I've created in a content template) and for a CRED form to show to allow people to write their review director on that vendors page.
I visited this URL: hidden link
I expected to see: A cred form directly on that page.
Instead, I got: was a link to another page to write the review. This works but isn't ideal, I do not want visitors to leave a page in order to write a review.
I see one of two solutions:
#1 - Show the CRED form directly on the page and automatically link all reviews to that vendor.
#2 - show a lightbox pop up allowing reviewers to enter a review specifically for that vendor.
Are either of these scenarios possible? My hope is to have #1 scenario be achievable.
Types is using a custom field _wpcf_belongs_[parent-slug]_id to store the parent post ID value, I suggest you add a hidden field to replace the parent selector, for example:
Could you duplicate same problem in a test site, and fill below private detail box with login details, also point out the problem CRED form URL and the page URL, I need a live website to test and debug.