Support » Theme: raindrops » Which header template for javascript file?

  • I want to place some Flash SWFs in WordPress Pages. I see the following templates in the Editor:


    Since I’m lazy, I usually go find the </head> tag and put the link to the .js file just above it. But I don’t know which of these files is serving the header to the WordPress Page template. And, header-front has the closing < /head> tag in TWO places.

    Where should I place the link to a .js Javascript file so that it loads with a WordPress Page?

    ` <script type=”text/javascript” src=”www.mysite/folder/swfobject.js”></script>
    <script type=”text/javascript”>
    swfobject.registerObject(“myId”, “9.0.115”);


Viewing 1 replies (of 1 total)
  • Theme Author nobita


    Hi tomwood

    Raindrops default setting header ‘header-html5.php’

    Template page-templates/front-page.php use ‘header-front.php’

    Raindrops support document type ‘xhtml1.0’ ‘use header.php’

    Add script ,Most easy way is use custom field.

    1. create custom field key ‘meta’
    2. value paste your script code.

    Please try custom field key name ‘css’, ‘javascript’.

    Thank you.

Viewing 1 replies (of 1 total)
  • The topic ‘Which header template for javascript file?’ is closed to new replies.