Forums

Scripts n Styles
[resolved] Using JS Option Without Tags (2 posts)

  1. C.Stevenson
    Member
    Posted 11 months ago #

    Insightful plugin - Thank you in advance!

    I haven't tried it yet, but want to because my current theme isn't recognizing the following script (when placed and saved in html view).
    _______________________________________________

    <script type='text/javascript'>var $p2jq = jQuery.noConflict();</script>
    <script type="text/javascript" src="http://www.p-2.com/calculator/p2calc.js"></script>
    <div id="p2calculator"> </div>
    <p style="text-align: center;">Lighting Retrofit calculator provided by [P2].</p>
    _______________________________________________

    Question: Would I simply omit the <script> tags when using the plugin? This novice Admin needs to know what the proper plugin entry would look like when entering the script above.

    Thank you - C.

    http://wordpress.org/extend/plugins/scripts-n-styles/

  2. WraithKenny
    Member
    Posted 11 months ago #

    Sorry, you don't include the script tags for this plugin. I'll be adding a way to include external scripts in v3, but for now, this plugin is inline only.

    Also, unless you are an Editor or Admin, you can't access the plugin at all. If you are, you can place that code right in the editor and it should work.

Reply

You must log in to post.

About this Plugin

About this Topic