Support » Plugin: Rate my Post - WP Post Rating » Exclude auto-insert to Gravity Forms

  • Resolved a.neises

    (@aneises)


    Greetings

    I want to get use of the “auto insert” feature. But in that case, the plugin will also insert into gravity forms. That leads to the situation, that only the form have the rating, but not the page/post itself (the form is modaly loaded…).

    My point: I´m not able to exclude the forms, because they don´t have a post/page ID

    See https://docs.gravityforms.com/database-storage-structure-reference/#wp-gf-form the form ID is saved in a table called “wp_gf_form”.

    Do you have any idea to exclude the forms?

    Thanks & regards, Andreas

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Blaz K.

    (@blazk)

    Hi @aneises,

    in case of problems with the auto insert feature I recommend adding the rating/result widget directly to the template. The auto insert feature works well in most cases but since it utilizes the_content filter other plugins might interfere with it. To add the rating widget to the post template use:

    
    <?php echo do_shortcode('[ratemypost]'); ?>
    

    This has been discussed a lot in this forum – check out a similar thread here: https://wordpress.org/support/topic/not-working-in-our-site/

    Regards,
    Blaz

    a.neises

    (@aneises)

    Hi Blaz,

    thanks for your advise. That worked 🙂

    Kind regards!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.