Jump to content


Photo
- - - - -

Is it possible to add a javascript file to WordPress Pagelines?

javascript

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1 triggerfish

triggerfish

    Super Member

  • Members

  • 172 posts

Posted 10 October 2012 - 04:21 PM

Is it possible to add a javascript file to WordPress Pagelines?
I want to add a javascript file to allow media queries in ie8 and below (css3-mediaqueries.js).
Is there a way to add this, and have it work of course?

#2 Simon_P

Simon_P

    Messer

  • Administrators



  • 8388607 posts

Posted 10 October 2012 - 04:24 PM

You need to use the wp enqueue system, google wp_enqueue_script()

Heres the 1st result

Please Login or Register to see this Hidden Content