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’);

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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s