GavickPro / Meet-GavernWP

Meet GavernWP is a responsive free Wordpress theme
35 stars 23 forks source link

adding javascript to meet gavern template #221

Closed Balbina closed 11 years ago

Balbina commented 11 years ago

First! Congrats for meet gavern template!

How I can:

... Add this line of JavaScript as high in the of your site as possible, before any other JS:


...

Becouse I would like to use adaptive image details: http://adaptive-images.com/details.htm

Tanks

dziudek commented 11 years ago

Hi,

In this case you should open file: layouts/header.php and add this script directly after line:

<title><?php do_action('gavernwp_title'); ?></title>

or you can add this code using action gavernwp_metatags.

Balbina commented 11 years ago

Perfect! tank you!!!

Balbina commented 11 years ago

sorry, you mean in layouts/blocks/head.php ?

Balbina commented 11 years ago

I'm in Joomla 3 ;)

dziudek commented 11 years ago

@Balbina - you have wrote on the WordPress theme repository ;) In your case you should find file: layouts/default.php and put your code after:

<meta name="viewport" content="width=device-width, initial-scale=1.0">
Balbina commented 11 years ago

ou! sorry ... I'll be more carefully next time .. I solved it. Tank you