 hasanK-7
|
Background of the issue:
I am trying to apply a solution from this answer: https://wpml.org/forums/topic/only-include-javascript-snippet-on-1-language/ to my site hidden link. My goal is to insert JS code in the footer.
Symptoms:
My code is being inserted before the HTML Tag.
Questions:
What to do to insert the JS code in the footer?
|
 hasanK-7
|
I was able to fix the problem , by adjusting the reference solution provided by wpml and referencing this stack
https://stackoverflow.com/a/4226269
|
 Dražen
Supporter
Languages:
English (English )
Timezone:
Europe/Zagreb (GMT+02:00)
|
Hello,
can you explain what are you trying to achieve? Show JS script only on specific language footer?
- My code is being inserted before the HTML Tag.
Please explain before which HTML tag, and what is wrong.
Please note that while I can provide guidance and assistance with code examples, troubleshooting and further customization of custom code implementations fall outside the scope of our support.
Regards,
Drazen
|
 Dražen
Supporter
Languages:
English (English )
Timezone:
Europe/Zagreb (GMT+02:00)
|
Hello,
Great to hear that it's resolved now 🙂
Thank you for the confirmation.
Regards,
Drazen
|