• Resolved t15todd

    (@t15todd)


    I have the reviews form on my template as below:

    <?php echo do_shortcode(‘[site_reviews_form assigned_to=”‘.$id.'”]’); ?>

    The form submits and the review shows in “All Reviews” section, but is not assigned to the post it was submitted from.

    The form on the page has the hidden field filled in with the post ID as well, see:
    <input type=”hidden” value=”316″ name=”site-reviews[_post_id]”>

    Any idea what’s wrong?

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

    (@geminilabs)

    You are confusing the “assign_to” with the “assigned_to” option.

    Try this if you are assigning reviews to the current page:

    <?= do_shortcode('[site_reviews_form assign_to=post_id]'); ?>

    Or this if the ID you are assigning to is different from the current page:

    <?= do_shortcode('[site_reviews_form assign_to='.$id.']'); ?>

    Thread Starter t15todd

    (@t15todd)

    ahhhhhhh I need new glasses, more coffee and more sleep!

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Not assigned to post’ is closed to new replies.