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

    (@geminilabs)

    The solution shown in that link only works for version 4 of Site Reviews.

    You may want to rethink this however, most people cache their website and when a page is cached, trying to randomise the review with PHP will not work as the cache bypasses it.

    Thread Starter Bouke Koning

    (@boukekoning)

    Hi there,

    The code snippet in the link has a v5 version in it, I was hoping to use that.

    I understand your argument. But to make the content of my frontpage dynamic it fits more to show another review when a visitor returns to my website. I don;t think the cahing is been used a lot and visitors will see it sooner when a review keeps the same for a longer time.

    Please tell me if your answer tells me the function won’t be there anymore from now on, or that there is a possibility to fix the script.

    Thanks again in advance!

    Grtz,
    Bouke

    Plugin Author Gemini Labs

    (@geminilabs)

    You’re right, I’ve updated the pastebin snippet in the link you referenced but you will need to wait a few days until v5.2 is released for it to work.

    Thread Starter Bouke Koning

    (@boukekoning)

    Wow, that’s a quick reponse and great effort! I will wait for the update and implement it right away.

    Thank you again!!

    Plugin Author Gemini Labs

    (@geminilabs)

    Please update to v5.2.0

    Thread Starter Bouke Koning

    (@boukekoning)

    Thnx! I updated the plugin, unfortunatly the reviews don’t show at random yet. The newst review is shown. Used the code as mentioned in the link in the previous post, the v5 snippet. Perhaps I have to change something?

    Hope you can help me.

    • This reply was modified 4 years, 4 months ago by Bouke Koning.
    Plugin Author Gemini Labs

    (@geminilabs)

    Did you update the snippet?

    Before it was, 'order' => 'random',

    When it should have been, 'orderby' => 'random',

    Thread Starter Bouke Koning

    (@boukekoning)

    Euhm, well apparently I didn’t do that correctly, so sorry…

    I added the snippet to the website through a snippet plugin. I forgot I also added it to the functions.php, that was the old script. Deleted that one and voila! Works like a charm!!

    Thank you very much!! Very glad this works!!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Random reviews’ is closed to new replies.