• Resolved rob_teamworks

    (@rob_teamworks)


    I’m using the following code to update a post via a gravity form:

    <?php $id = get_the_id();
    echo do_shortcode('[gravityform id="4" title="false" description="false" update="'.$id.'"]'); ?>

    On updating the form my ACF fields are updated but the standard WordPress title gets changed to “Update_1”, if I update again it just changes to “Update_2” and so on.

    The CPT post already had a title, as soon as I updated it just changes to the above.

    All plugins and core are running the latest as of this point.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jupitercow

    (@jcow)

    Does the form have a title field in it? Or are you updating other info without the title?

    Plugin Author Jupitercow

    (@jcow)

    This was a bug apparently. If you did not have a post title field in the form, it would just delete the title. The latest version fixes this. Now a missing post title or post content field will allow the post to retain the existing information.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Post title gets overwritten’ is closed to new replies.