Support » Plugin: Gravity Forms - Update Post » Automatically setting the post ID

  • Hi there,

    I’ve been reading through a few of the support questions as I was looking for the same answer; How to automatically set the Post ID!

    I have come up with the following workaround set into the post template PHP template:

    <?php $currentpost = get_the_ID(); 
    {echo "<a href='" .$currentpost. "'  >Update post</a>";}

    I hope this helps!

  • The topic ‘Automatically setting the post ID’ is closed to new replies.