CRED plugin allows you to build forms that create child posts and set parents for these posts, supporting the parent-child relationship functionality from Types plugin.
When you ask for help or report issues, make sure to tell us the structure of your content and the relationship between the content types.
Viewing 15 topics - 1,111 through 1,125 (of 1,150 total)
Problem:
How to associate parent post email to child post
Solution:
you should create a hidden generic field and then use CRED hook "cred_before_save_data" to assign the value parent post email to the generic field value.
Problem:
Can I hook in or filter a CRED Form submission, to add my own custom events?
Solution:
Yes.
The CRED API allows you to add your own custom application logic to CRED Forms when they are submitted.
A full comprehensive List of those actions and filters is here https://toolset.com/documentation/user-guides/cred-api/
2. Create a CRED Form that creates Intermediary Child Post types
3. This CRED form should hold the Parent Post-Selector for the "other" parent Post Type (Type B)
Also, you will insert the Parent Post-Selector for Type A, but hide it in a "
"
4. Insert this Form to a page
5. In the Parent Posts Content Template (or post body) for the Post which the Parent Post CRED Form for Type A form creates, insert a "Child Post CRED Link" and link it to the above page (The GUI will guide you through the steps) https://toolset.com/documentation/user-guides/cred-forms-for-child-content/
6. Choose to set the parent according to this Post when inserting the CRED Link
7. Now see your Parent Post Type A and click on the create child post link
8. This will automatically set Parent Post type A, and you can then choose parent Post Type B in the Form
The question being asked here is that the user wanted to allow his customers to change their post status through the frontend using CRED.
Solution:
Unfortunately an option like this is not available in our CRED plugins.
The reason I believe is that only Admins can have access to the posts that are not published. Regular users wouldn't have access to these posts normally because they wouldn't have access to the backend to view them.
Any solution for this would have to be a custom one.
Problem:
How to create business directory site with paid listing
Solution:
The easiest way to create business directory kind of site with paid listing I would suggest you to learn from our toolset classifieds reference site.
Classifieds reference site already have "Premium Ads" and "Free Ads" subscription. This site will help you a lot and you will learn a lot and it will be easy to build your site once you go through the reference site. http://multilingual-classifieds.discover-wp.com/add-new-ad/
Problem:
In a CRED post form which publishes child posts, how to mark the field which selects the parent post as required.
Solution:
Edit the form and locate the shortcode used to select the parent field (with field='_wpcf_belongs_parent-slug_id') and hit the Add Post Fields button which brings up an edit dialog box where field is required can be set.