WordPress.org

Ready to get started?Download WordPress

Forums

How to add JSP content via text widget (3 posts)

  1. bwharfe
    Member
    Posted 1 year ago #

    Hi

    First post and novice user on WP so please be gentle.

    I would like to add a graph from a third party site to my wordpress site. When I insert the code into the text widget the graph displays fine but it stops other things working. So I am guessing that's not the right way to do it, I have searched the forums and tried a few plug ins but need help.

    The code I am trying to include is:

    <script src="http://pvoutput.org/widget/inc.jsp"></script>
    <script src="http://pvoutput.org/widget/outputs.jsp?sid=9726&w=200&h=100&c=1&d=1&barwidth=5&barspaceing=2"></script>

    Any help much appreciated
    TIA

    Ben

  2. bwharfe
    Member
    Posted 1 year ago #

    Hi Christine

    Thanks for the suggestion, I tried the plugin but it didn't seem to help. The same problem occured. I have read all the documentation I could find in relation to the plugin but couldn't see that it really handled the code differently to the standard WP HTML / text widget.

    From reading other posts I wondered whether I should be using this: wp_enqueue_script () but I don't know how to implement it....?

    Regards

    Ben

Topic Closed

This topic has been closed to new replies.

About this Topic