• Hi all,

    I have been googling and trying for the last hour now. Basically I am in the middle of monetising my blog again after two years of no activity due to COVID.
    The short code is working great, however I came across another problem where the widget won’t show on my blog post whether I use visual or text. its a <div> code which directs the user to a link. Any ideas if this is even possible to integrate? I didn’t think it would be a problem.

    <div data-gyg-href="https://widget.getyourguide.com/default/city.frame" data-gyg-location-id="42" data-gyg-locale-code="en-US" data-gyg-widget="city" data-gyg-partner-id="6V2DV82"></div>

    • This topic was modified 2 years, 7 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic
Viewing 3 replies - 1 through 3 (of 3 total)
  • This code alone will do purely nothing. It is simply an HTML element without any function.

    The question is: where did you get this? Who gave it to you? Is there anything else you need to add to it? A JavaScript or CSS?

    Thread Starter janine0187

    (@janine0187)

    This code was provided by an affiliate program that I joined which is get your guide. it is basically a widget for people to click on to book activities in any city in the world. My example was Lisbon.

    Then there is a missing part of the code here. This way, it is of no use at all. Please contact getyourguide.com.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Div code not displaying on post’ is closed to new replies.