• Resolved LostinWP

    (@lostinwp)


    Hi,

    Currently have the premium version. I have a long review form. I would like to leave a link to review a post at the end of the post, with that link redirecting to the form that needs to be filled out, likely on another page/post.

    Something?like this?when a user clicks the “Write a Review” button towards the bottom of the page.

    Can you point me in the right direction?

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

    (@geminilabs)

    @lostinwp

    If using Gutenberg, why not just add a Button block to the page that links to your review form page?

    You can see that I’ve done something similar on the demo website here (the only difference being that button scrolls down the page to the review form instead of loading a new page) : https://demo.site-reviews.com/product/

    By the way, if you have a Premium license you can use the Support form on your Nifty Plugins account for dedicated support.

    • This reply was modified 1 year, 1 month ago by Gemini Labs.
    • This reply was modified 1 year, 1 month ago by Gemini Labs.
    Thread Starter LostinWP

    (@lostinwp)

    @geminilabs Thanks!

    If I had 1000 posts to be potentially be reviewed, how could I ensure that when they clicked the “Write a Review” button at the bottom of the post, and go to the page I create, it correctly credits the correct post?

    Is there a way to pass along a variable?

    Plugin Author Gemini Labs

    (@geminilabs)

    Are you using the Shortcodes, Blocks, or Elementor widgets?

    If using the Shortcodes, use the assigned_posts="post_id" option on each of the shortcodes. This will tell Site Reviews to assign new reviews submitted on the current page to that page. If using the Blocks or Elementor widgets, use the Assigned Posts option in the Block/Widget settings.

    Now if instead of displaying the review form on your posts, you are using a single page to submit a review for all 1000 of your posts, this is a little more tricky as you will need some way to tell Site Reviews which Post you are writing the review for.

    A possible solution for this is using the Code Snippets plugin to add the following code snippet to your site: https://pastebin.com/0vfLaj3m

    With that code snippet, you could add a button with the following URL (where 13 is the Post ID of the page you want to review): https://website.com/submit-review/?assigned_post=13

    That URL would load the /submit-review/ page and set the hidden assigned_posts value in the form to the Post ID of 13.

    The problem with this, however, is that you would need to change the ?assigned_post=13 part of the URL used in the button on each Post with the correct Post ID.

    Thread Starter LostinWP

    (@lostinwp)

    Using Elementor widgets, thanks for the ideas.

    Though this is over my head, I appreciate the input and ideas.

    • This reply was modified 1 year, 1 month ago by LostinWP.
    Plugin Author Gemini Labs

    (@geminilabs)

    If you add this second code snippet to your website (https://pastebin.com/5QwevFVv), then you simply do this in the Elementor template that you are using for your Post page:

    If you like, send me a support request on your Nifty Plugins account and I’ll be happy to help you with this.

    Thread Starter LostinWP

    (@lostinwp)

    That worked, thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Review Form on Separate Post?’ is closed to new replies.