• Resolved alexmkubik

    (@alexmkubik)


    JS I want loaded in header…

    Custom field is “css”

    Shortcode in it is: [load dir="web" js="http://malsup.github.com/jquery.cycle2.js"]

    <script type="text/javascript" src="webhttp://malsup.github.com/jquery.cycle2.js"></script>

    If I remove the http:// from the link, I get “webmalsup.github…” in the source.

    Thanks.

    https://ww.wp.xz.cn/plugins/custom-content-shortcode/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Eliot Akira

    (@miyarakira)

    Thank you for pointing this out. I improved it in the latest update.

    So now you should be able to load either with dir=”web” or just specifying http:// in the file name:

    [load dir="web" js="malsup.github.com/jquery.cycle2.js"]

    Or just

    [load js="http://malsup.github.com/jquery.cycle2.js"]
    Thread Starter alexmkubik

    (@alexmkubik)

    Great! Awesome!

    Thread Starter alexmkubik

    (@alexmkubik)

    Marking resolved!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Trouble with "load" and web…’ is closed to new replies.