Hi-
My clients wants me to add two sets of third-party reviews to the site. The company who compiles the reviews has a pieces of javascript for me to add for each review set. All is well until I try to add two set of reviews on one page. In this case, both sets of reviews default to one set repeated.
I can get the two sets if I enter the different pieces of javascript on two pages. But they want all reviews one page.
Here is the two pieces of code:
<div data-fred-widget-reviews></div>
<script src=”https://d1yw3duy3i4qiv.cloudfront.net/js/sdk-v1.js”></script>
<script>
FRED.init({
locationId: “1e380110-e363-4d1b-8459-6e2ad4580ab4”,
perPage: 5,
layout: “list”,
background: “ffffff”,
titleHexColor: “8cc63f”,
starHexColor: “fcc415″
});
</script>
and
<div data-fred-widget-reviews></div>
<script src=”https://d1yw3duy3i4qiv.cloudfront.net/js/sdk-v1.js”></script>
<script>
FRED.init({
locationId: “37d0a675-ffe6-479e-9898-0239f53c1e97”,
perPage: 5,
layout: “list”,
background: “ffffff”,
titleHexColor: “8cc63f”,
starHexColor: “fcc415”
});
</script>
Got any ideas?
Hey mclweb!
Not sure what the issue can be.
Most probably it is better to contact the guys with the reviews, to explain you how they can combine it.
It will be easier for them.
Let us know if we can do anything else.
Best regards,
Basilis
I talked to them and they say it works for them.
Hi,
I think you should be able to do this by using code block :)
Best regards,
Nikko