Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- A few things need to happen in order to make responsive-nav.js work in the
- Millennium Flights theme. First, you’ll need to enqueue the script (after down
- -
- loading the files). Since there is already a function to do that in the
- theme, you can
- just add a new line to it:
- function mf_scripts() {
- wp_enqueue_style( ‘googlewebfonts’,
- p
- ‘http://fonts.googleapis.com/css?family=
- p
- Open+Sans+Condensed:300’ );
- wp_enqueue_script( ‘responsivenav’,
- p
- TEMPPATH.’/js/responsive-nav.min.js’, array());
- echo ‘<!--[if lt IE 9]>’;
- echo ‘<script src=”http://html5shim.googlecode.com/
- p
- svn/trunk/html5.js”></script>’;
- echo ‘<script src=”’. TEMPPATH .’/js/respond.min.js”>
- p
- </script>’;
- echo ‘![endif]-->’;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement