How can I display a TripAdvisor rating for listings?

This topic contains 4 replies, has 3 voices, and was last updated by  Alex Rollin 4 years, 6 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #542099

    Emma Johnson
    Expired Member
    Post count: 23

    Is there any way to show a TripAdvisor widget for each business that has a listing on my directory?

    I had a look on TripAdvisor and can see that it is possible, but couldn’t work out how to get the embed code and add it to the website.. I don’t mind manually doing it for each business, but wanted to check if it was possible.

    Thanks in advance!

    #542108

    Kor
    Moderator
    Post count: 16516

    Hi Emma Johnson,

    Thanks for your post. You can insert the Tripadvisor widget into the sidebar of your listing details page. Have you tried that?

    #542115

    Alex Rollin
    Moderator
    Post count: 27815

    You would want to add a custom HTML field and add their snippet into that. WP doesn’t allow scripts in the fields so there are a couple things to do to allow scripts, let us know if you want to go that route.

    #543464

    Emma Johnson
    Expired Member
    Post count: 23

    Hi Alex,

    Great! And if I go down that route, I take it I can add a different TripAdvisor snippet for each listing? I don’t believe the plugin is what I need, as it looks like that displays reviews instead of a generic overview…

    Yes please to scripts.. worth a try!!

    Emma

    #543488

    Alex Rollin
    Moderator
    Post count: 27815

    It would be a field for each listing, and you would add their snippet for each one.

    To enable scripts see

    https://wpgeodirectory.com/docs-v2/places/custom/#scripts

    For more inquiries please post a new ticket to

    https://wpgeodirectory.com/support/

Viewing 5 posts - 1 through 5 (of 5 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount