Hello there and thank you very much for this great template,
it’s a pleasure to work with it!
I have a problem with the scripts
right now I have :
in the <head> section
and the rest like “contact form 7” and prettyphoto and others in footer.
I know I must have the jquery and avia compact in the header,
but how can I move the others to footer?
thanks for replying!
Hey maorshabo!
You can find in functions.php (roughly line 262 ) wp_enqueue_scripts, what this does it’s that adds jquery … into the front end ( your page ).
The structure is the following <?php wp_enqueue_script( $handle, $src, $deps, $ver, $in_footer ); ?>
$in_footer replace that to true, on the files you want on the footer.
Some on them are required to be on the top of the page ‘avia-compat’ and if you need to do the layer slider ones you need to modify either the plugin files, /config-layerslider/ ( location ), or dequeue them.
References:
http://codex.wordpress.org/Function_Reference/wp_enqueue_script
http://codex.wordpress.org/Function_Reference/wp_dequeue_script
I’m assuming that you have a decent understanding of php, since that might be required to performed such an actions.
Regards,
David