adicionar <script> ao wordpress no elemento <head>

Estou tentando inserir este código:

 <script type="text/javascript">
    some Javascript codes comes here
</script>

to Wordpress '<head></head> seção no front end e no painel de administração

Por exemplo, Joomla! 1.6 tem uma API que permite isso:

        $doc =& JFactory::getDocument();
        $doc->addCustomTag($headTag);

Preciso adicionar coisas diferentes para páginas diferentes. Por exemplo

Página Preciso adicionar

<link rel="alternate" type="application/rss+xml" title="feed title" href="feed url" />

Por algumas páginas

Página Preciso adicionar

<script type=\"text/javascript\" src=\"" . LIVE_SITE .
 "/wp-content/plugins/jobs/lknlibrary/js/ajax.js\"></script>
    <script type=\"text/javascript\">

    var ajax = new sack();
    var currentClientID=false;
    function getClientData()
    {
        var clientId = document.getElementById('db_country_id').value.replace(/[^0-9]/g,'');
        ajax.requestFile = '" .BASE_PATH . "/wp-content/plugins/jobs/com_jobs_admin/tasks/get_location_data.php?task=get_location_data&name=db_parent_id&getClientId='+clientId;    // Specifying which file to get
        ajax.onCompletion = showClientData; // Specify function that will be executed after file has been found
        ajax.runAJAX();        // Execute AJAX function
    }

    function showClientData()
    {
        clearJS = ajax.response;
        var strTagStrippedText = clearJS.replace(/(<\s*\/?\s*)div(\s*([^>]*)?\s*>)/gi ,'');
        document.getElementById('locationsDiv').innerHTML=strTagStrippedText ;
    }

    function initFormEvents()
    {
        if (document.getElementById('db_country_id')){
            document.getElementById('db_country_id').onchange = getClientData;
            document.getElementById('db_country_id').focus();
        }
    }

    window.onload = initFormEvents;
</script>

para algumas páginas

Page 3 Preciso adicionar

 <link rel="stylesheet" type="text/css" href="/wordpress/wp-content/plugins/jobs/lknlibrary/js/tabs/tab.webfx.css" />

para algumas páginas

Tenho mais de 70 páginas no painel de administração, como as descritas acim

entar gerenciar o cabeçalho do WordPress com o exemplo é um pouco difíci

questionAnswers(5)

yourAnswerToTheQuestion