Simply include the script or a function?
<p>What is the best way? </p>

<ol>
<li>include the script  </li>
<li>write the script as function in for example functions.php, include the functions.php and call function</li>
</ol>

<p>thanks</p>
