I am trying to: I've created a simple form where a user selects the parent from the selector. I would like the user to see some information from that parent CPT.
I've read the CRED user guide and cant seem to find out how I reference this.
In the CRED Post Form editor, I select the Fields and Views button and choose field that exists in the parent post (in this case "date") . I select 'post selection' and choose "the parent of this post set by Types". The following code is generated.
I know that he parent information can be displayed in a child post by using the id attribute on a types field. When using the id attribute you will need to use the parent slug so an example would be.
So even if I have successfully created a Views-Content Template that shows all the information I require in my CPT.
When a user selects a parent a CRED form - I need to display the information that is in the Content Template - is there is no way to display that information on the CRED form??
From what I know these are the only shortcodes that can display the parent information. This is due to the fact that the child post has not been created yet so the post does not have an ID so an association cannot be made as yet. The parent information is set once the post has been created.
So its not possible even with a view due to the child post not yet being created.