Pro forms redirect to new post

Hey there.
I am trying to have a front end form that creates new posts in a CPT called “foro”. I need to redirect the user the newly created post, but I am not sure how to achieve this with the URL parameters, since I don’t have the slug.

Any way to do this?

Thanks!

Could I have any feedback on this? @Daniele

You user the shortcode {{live_post_id}} on your redirect URL so, https://youromain.com/your single post page/?post_id={{live_post_id}} which will add the id of the post you are creating to the URL

1 Like

Yes!
Although I had to put it like this:

/?page_id={{live_post_id}}

And that works!
Thanks