Thanks, Tom,
yes, i have GP Hooks (Premium), i tried to put stuff there, but it didnt work. and i checked Execute php.
the script is:
<script type=”text/javascript” src=”http://tradebonds.ru/simplebox_util.js”></script>
<script type=”text/javascript”>
(function(){
var boxes=[],els,i,l;
if(document.querySelectorAll){
els=document.querySelectorAll(‘a[rel=simplebox]’);
Box.getStyles(‘simplebox_css’,’http://tradebonds.ru/simplebox.css’);
Box.getScripts(‘simplebox_js’,’http://tradebonds.ru/simplebox.js’,function(){
simplebox.init();
for(i=0,l=els.length;i<l;++i)
simplebox.start(els[i]);
simplebox.start(‘a[rel=simplebox_group]’);
});
}
})();</script>
Script should be put before </body> in footer.php
what is the correct way to put it in wp_footer?