How to insert a widget with a jscript in wordpress pages/posts
-
Hi all,
I am a complete newbie to web development…
So I wanted to show some air quality data on my new WordPress website. I used [ redundant link removed ] to create the below custom widget code with javascript and tried so many different tutorials and plugins with no success at all.
Below is the widget I’m trying to insert into my page. (xxxxxxxxxx part is my key)
<div name="airvisual_widget" key="xxxxxxxxxxxxxxxxxxxxxxxx"></div> <script type="text/javascript" src="https://cdn.airvisual.net/assets/widgets/widget_v3.0.js"></script>
iqair website says that;
“Your widget is ready
Your widget have been successfully created. Copy the code below on any website you want to display the widget.”LOL But this seems really really difficult. Can someone help me out, please? How can I do this, please?
The page I need help with: [log in to see the link]
- The topic ‘How to insert a widget with a jscript in wordpress pages/posts’ is closed to new replies.