Is there any reason why this code wouldn't be working in more recent versions of toolset?
I have followed the instructions in the post and I cant seem to get it working. It seems fairly straight forward. I see the post is 3 years old, so perhaps something has changed?
I just tested this and found it works, let's clarify how you are doing this.
Specifically, the intention with this code snippet is that you have a CRED form to create child posts. If you auto-generate the markup for the form it will—if you have set up the post relationships—automatically add the field for the parent post selector, which you can delete as it won't be used.
You then edit the Content Template for the parent post type and insert the shortcode for this child post form. Note, if you are using the CRED Forms button, you are not inserting a child post form link, you are inserting the shortcode for the child post itself, which will be rendered directly on the parent post.
If that matches your set up then you should be able to add the code—which I'll repeat below—and only need to edit the id of the CRED child post form and the slug of the parent post type.
I have another ticket with the same issue and they are using the same code and it is working, so I'm not sure why yours is not, I can take a look if you like.
I think I should take a copy of your site for testing to examine the problem.
I will mark your next reply as private so that I can get log-in credentials from you—you may want to create a temporary admin user for me to use that you can later delete. And be sure to have a current backup of your site, even though I don't intend to make any other changes than testing this code.
Be sure to include WordPress and FTP credentials.
Can you also confirm the url of where I can see the problem.
I tested it very quickly and it looks like it's working well! Thanks heaps.
Now that you have access to my site, are you able to help me with bootstrap features?
I was trying to add glyphicons to buttons and they just don't seem to show. I've enabled bootstrap and my theme indicates that it has bootstrap included... I'm stumped.
I can help you with that but you will need to post the issue in a new thread, our policy is to limit each ticket to a single question which makes it easier for others researching problems in the forums to locate issues and solutions.
You are welcome to assign the thread to me to handle.
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.