TripAdvisor Widget
-
I need to add a TripAdvisor widget that displays hotel reviews – the code gets altered when I save, and only the TripAdvisor image displays, not the reviews.
I understand from TripAdvisor that it doesn’t display correctly on https pages.
The code has <script> text in it.
How do I get around this – the hotel owners want their reviews displayed on their website.
The blog I need help with is: (visible only to logged in users)
-
This is the code:
<div id=”TA_cdsratingsonlynarrow34″ class=”TA_cdsratingsonlynarrow”><ul id=”uCmlS6″ class=”TA_links VvOHbz5A”><li id=”dwO4KYlM” class=”5BkKx94cAXqI”><img src=”http://www.tripadvisor.com/img/cdsi/img2/branding/tripadvisor_logo_transp_340x80-18034-2.png” alt=”TripAdvisor”/></div><script src=”http://www.jscache.com/wejs?wtype=cdsratingsonlynarrow&uniq=34&locationId=5523543&lang=en_US&border=true&display_version=2″></script>
-
You can’t use script tag on WordPress.com blogs:
http://en.support.wordpress.com/code/But you can use a workaround like this:
https://en.forums.wordpress.com/topic/how-do-i-install-a-trip-advisor-widget?replies=2 -
Thank you, but I can add the TripAdvisor image, no problem, but not display the review widget which is the problem and what we actually want to display – this won’t be a constant image – i.e. there may be 30 reviews this week giving an average 3 star rating, but in a month’s time there could be 50 reviews giving a 4 star average – would I then need to keep updating the image?
-
- The topic ‘TripAdvisor Widget’ is closed to new replies.