current language shortcode
-
Hi. I need to add the language variable into a link. Probably the best way would be with a shortcode.
What I need to achieve is to display a widget in the selected language. Part of the widget code is:
<script id=”travelmyth-info” src=”https://www.travelmyth.com/hotel-information.js?hid=xxxx&l=en&c=h&w=400&h=400″>and I was thinking about something like
<script id=”travelmyth-info” src=”https://www.travelmyth.com/hotel-information.js?hid=15685&l=%5Bcurrent-language%5D&c=h&w=400&h=400″>is it possible?
I would check here, but the link is not working: https://trac.transposh.org/wiki/ShortCodesThanks!
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘current language shortcode’ is closed to new replies.