• Resolved ilse88

    (@ilse88)


    Good morning,

    Your plugin is exactly what we needed, thanks! Everything is set up, but I’m still wondering about one thing. Is there a shortcode to show one specific review? Without a user ID, but for example with the ID of the review?

    I couldn’t find a topic about this subject yet. If I’m wrong, I’m sorry.

    Thanks in advance.

    Kind regards,
    Ilse

    The page I need help with: [log in to see the link]

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

    (@geminilabs)

    Thread Starter ilse88

    (@ilse88)

    Thanks for your response.

    When I use the code in combination with the shortcode, I get 5 reviews and not the one I wanted.

    The reviews were an addition to the homepage. For now I just copied it manually.

    Plugin Author Gemini Labs

    (@geminilabs)

    I am using the Code Snippets plugin in this example to add the code snippet. You can also add it to your child theme’s functions.php file.

    Here we copy the Post ID of the review we want to display:

    Now we add the new [site_review] shortcode to the page that we added with the code snippet and use the post_id option to specify that we want to display that specific review:

    And here it is displayed on the page:

    • This reply was modified 2 years, 8 months ago by Gemini Labs.
    Thread Starter ilse88

    (@ilse88)

    Thanks for your comment. I followed the steps above exactly (I don’t use Code Snippets, I have put the code in the child theme’s functions.php). Unfortunately I just the latest reviews and not the one I wanted.

    I took screenshots, but I can’t easily post them here.

    My client thinks it’s fine this way, so it’s a shame to delve further into this.

    Thanks again for thinking along.

    Plugin Author Gemini Labs

    (@geminilabs)

    Perhaps it’s happening because you used [site_reviews] instead of the new [site_review] shortcode created by the snippet?

    Thread Starter ilse88

    (@ilse88)

    I just told a colleague that I drink less coffee. Maybe I should grab an extra cup after all… Thanks this is it. I copied the wrong shortcode…

    Thanks for your time and sorry for the misunderstanding.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Show specific review’ is closed to new replies.