Title: Div code not displaying on post
Last modified: July 7, 2022

---

# Div code not displaying on post

 *  [janine0187](https://wordpress.org/support/users/janine0187/)
 * (@janine0187)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/div-code-not-displaying-on-post/)
 * 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 3 years, 11 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
      Reason: Moved to Fixing WordPress, this is not an Developing with WordPress
      topic

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/div-code-not-displaying-on-post/#post-15803684)
 * 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](https://wordpress.org/support/users/janine0187/)
 * (@janine0187)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/div-code-not-displaying-on-post/#post-15804790)
 * 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.
 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/div-code-not-displaying-on-post/#post-15806469)
 * 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.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [threadi](https://wordpress.org/support/users/threadi/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/div-code-not-displaying-on-post/#post-15806469)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
