Topic Resolution: Resolved
  • Creator
    Topic
  • #21283

    kim dunitz
    Participant
    Been thanked: 0 times

    I want to place a weather plugin in a Text widget.

    <script language=”JavaScript” type=”text/javascript”>
    document.write(‘<script language=”JavaScript” src=”http://www.myweather2.com/Plugins/weather/general.ashx?type=js&n=4&t=24&x=f1_day&inc=False&w=230&h=320&headerbgcolor=284252&headertextcolor=&temp_unit=2&windspeed_unit=1&puref=d594d555-f760-402c-9c16-ea68bb1e9053&cb=’ + Math.random() + ‘” type=”text/javascript”><\/scr’ + ‘ipt>’);
    </script><noscript>Mazda Raceway Laguna Seca weather forecast from Weather2</noscript>

    Is there a way I can do this?

Viewing 3 replies - 1 through 3 (of 3 total)
Replies
  • Denzel Chia
    Moderator
    Post count: 2844
    Been thanked: 91 times
    #21289 |

    Hi,

    You can try out any free plugin found on WordPress.org

    For example, https://wordpress.org/plugins/allow-javascript-in-text-widgets/

    I did not try out this plugin with Alora Theme, not sure if it will cause any conflict.

    After adding your javascript, you have to use your browser error console to see if there is any conflict, or your javascript powered elements, such a slider will stop working.

    Thanks!
    Denzel

    kim dunitz
    Participant
    Post count: 31
    Been thanked: 0 times
    #21294 |

    thanks!

    Denzel Chia
    Moderator
    Post count: 2844
    Been thanked: 91 times
    #21298 |

    You are welcome!

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.