Add custom CSS and JS files in Thesis

function add_custom_javascript(){ ?>

<script type=”text/javascript” src=”http://2kings4.stormer.net/wp-content/themes/thesis_182/custom/jquery.lavalamp.min.js”></script&gt;

<script type=”text/javascript” src=”http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js”></script&gt;

<script type=”text/javascript” src=”http://2kings4.stormer.net/wp-content/themes/thesis_182/custom/custom.js”></script&gt;

<link media=”screen, projection” type=”text/css”

href=”<?php bloginfo(‘template_directory’); ?>/custom/css/YOUR_ADDITION_STYLESHEET.css” rel=”stylesheet” />

<?php

}

add_action(‘wp_head’, ‘add_custom_javascript’);

This entry was posted in Thesis, Wordpress. Bookmark the permalink.

Leave a comment