add_to_head("Code Here");
add_to_footer("Code Here");
add_to_head("<style type='text/css'>
#a_class_id {
border-radius: 4px 4px 4px 4px;
-moz-border-radius: 4px 4px 4px 4px;
-webkit-border-radius: 4px 4px 4px 4px;
display: block;
padding: 5px 0;
width: 100%;
}
</style>");
add_to_head("<link href='infusions/a_panel/includes/fstyle.css' media='screen, projection' rel='stylesheet' type='text/css' />");
add_to_head("<script type='text/javascript' src='/some_jsscript.js'></script>");
add_to_footer("<script type='text/javascript'>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-12345678-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>");
<script type="text/javascript">document.write(unescape("%3Cscript src=%27http://s10.histats.com/js15.js%27 type=%27text/javascript%27%3E%3C/script%3E"));</script>
<a href="http://www.histats.com" target="_blank" title="website hit counter" add_to_head("<script type="text/javascript" >
try {Histats.start(1,1394987,4,0,0,0,"");
Histats.track_hits();} catch(err){};
</script></a>
<noscript><a href="http://www.histats.com" target="_blank"><img src="http://sstatic1.histats.com/0.gif?1394987&101" alt="website hit counter" border="0"></a></noscript>");
add_to_footer("");
themes +templates + header.php for this echo "</head>\n<body>\n"; add_to_head("your code hiar "); Please change all " to '
your in theme theme.php in top this add_to_head("your code hiar "); Please change all " to '
echo "<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', ' code hiar ....', 'auto');
ga('send', 'pageview');
</script>\n";
Category Forum
Code Snippet and functions - 8Labels
None yet
Statistics
4 participants
Notifications
You are not receiving notifications from this thread.
Related Questions