• I have a script for a widget supplied by TripAdvisor for my reviews. The “widget” or script for it has been working fine, showing a sample of review, my score and when clicked on would take the person to my TripAdvisor review page.

    At some point recently it stopped displaying correct and now only displays the TA logo and when clicked takes you to their home page. I’m not sure if it’s a WP update issue, TA script issue, plugin conflict, or something perhaps to do with my theme.

    TA has several different widget codes, each displaying different information and I’ve tried several. Any suggestions would be appreciated.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator James Huff

    (@macmanx)

    It would be best to start at TripAdvisor’s support about this. WordPress overall doesn’t have any control over how their embed code operates.

    Thread Starter westlightimages

    (@westlightimages)

    Thanks James. I’ve tried their support and forums but no luck so far. I thought I’d post here as well to see if anyone else may have come across this issue. I didn’t know if it could have anything to do with a recent WP update as I’m not sure exactly when this stopped working.

    Moderator James Huff

    (@macmanx)

    The most recent change that _may_ have affected this in WordPress was a security update to add more protection against cross-site scripting (XSS) vulnerabilities.

    _If_ that is what knocked out TripAdvisor’s widgets, then TripAdvisor will definitely have to fix it, as that would mean they’re doing something WordPress considers to be highly insecure.

    Now that I think about it, if you most recently changed your site to HTTPS, but the embed scripts use HTTP sources, that could also be a reason because you can’t embed HTTP content on an HTTPS site.

    Thread Starter westlightimages

    (@westlightimages)

    Thanks again James! I think you may have nailed it with the switching to https which I did a few weeks ago.

    With my limited knowledge of all of this I’m guessing that until TripAdvisor comes up with a https user friendly source code I’m out of luck? Here is the current code I’m inserting. ALL Greek to me!

    <div id="TA_selfserveprop718" class="TA_selfserveprop"><ul id="uXb9HxVF" class="TA_links oeNzSVNbCd"><li id="krTp6rI8JOh" class="dx8EahC6XESg"><a target="_blank" href="https://www.tripadvisor.com/" rel="noopener noreferrer"><img src="https://www.tripadvisor.com/img/cdsi/img2/branding/150_logo-11900-2.png" alt="TripAdvisor" /></a></li></ul></div><script async src="https://www.jscache.com/wejs?wtype=selfserveprop&uniq=718&locationId=7142483&lang=en_US&rating=true&nreviews=5&writereviewlink=true&popIdx=true&iswide=false&border=true&display_version=2" data-loadtrk onload="this.loadtrk=true"></script>

    • This reply was modified 5 years, 8 months ago by Jan Dembowski. Reason: Fixed formatting
    Moderator James Huff

    (@macmanx)

    All of the sources in the embed code are HTTPS, so it’s not that. ??

    I tried adding the embed code on my test with a Custom HTML widget, and it is working properly: https://screenshots.firefox.com/iDmzmeCFdg8jcxjs/delta.jhuff.me

    How are you adding the code to your site?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘TripAdvisor review script stopped working’ is closed to new replies.