• I’m using this plugin along with Gravity Forms + Custom Post Types. So far, things are working extremely well. I just have one main issue that I need addressed.

    When a user submits a form (which makes a new post), I’d like to be able to generate an automatic link to the editable form when a new page is published.

    I tried to include html (<a href="/some-page-with-a-form?gform_post_id=<?php the_ID(); ?>">Edit This Post</a> (with the actual URL at the start) in the merged body of the post, but it doesn’t display correctly on the new post.

    If I could get that to work, it would be incredible. Is there any other way to make this happen?

    Thank you!

    https://www.ads-software.com/extend/plugins/gravity-forms-update-post/

Viewing 3 replies - 1 through 3 (of 3 total)
  • any update on this?

    Same problem with me. Would be great if someone knows how get the <?php the_ID(); ?> Code working.

    In another post someone told that the code have to be implemented “in the loop” whatever that means ?? .

    I would very appreciate if so know the solution for that issue.

    Regards,
    Alex

    I was able to get this to work in another Gravity Form installation. In that case, I was using the GravityForm to create a post, not the plugin in this support form. This solution should work for you just as well.

    1. install “Post link shortcode” – https://www.ads-software.com/extend/plugins/post-link-shortcode/
    2. add the code below to your Gravity Form “Confirmation” textarea

    <h2>View your new listing: <strong>[post id="{post_id}" anchor="yes" title="{Site Title:1}" text="{Site Title:1}"]</strong></h2>

    I’m sure there are other ways to get this done. This is the one what worked for me.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Gravity Forms – Update Post] Automatically generate a link to the editable form?’ is closed to new replies.