Jump to content


Photo
- - - - -

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

javascript

  • Please log in to reply
1 reply to this topic

#1 triggerfish

triggerfish

    Super Member

  • Members

  • 171 posts
  • LocationVancouver, BC
  • Framework Version:latest
  • Country: Country Flag

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
  • LocationDevon
  • Framework Version:2.1.1
  • Country: Country Flag

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







Also tagged with one or more of these keywords: javascript