Title: Inserting Multiple Stylesheets &#038; Javascript
Last modified: August 19, 2016

---

# Inserting Multiple Stylesheets & Javascript

 *  [typo404](https://wordpress.org/support/users/typo404/)
 * (@typo404)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/inserting-multiple-stylesheets-038-javascript/)
 * I’m creating a custom theme and have attached my default stylesheet using the
   appropriate tag like this:
 * <link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/
   css” media=”screen” />
 * This works fine but I’d like to be able to attach another stylesheet and was 
   wandering which tag I need to do this seeing as the above tag includes the full
   URL to style.css.
 * Also I want to do the same thing with Javascript. I presume the same tag would
   work for this but not sure how to call it.
 * Many thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/inserting-multiple-stylesheets-038-javascript/#post-704660)
 * I have seen this in some themes:
    `<link rel="stylesheet" href="<?php bloginfo('
   stylesheet_directory'); ?>/ie-hacks.css" type="text/css" media="screen" />`
 *  Thread Starter [typo404](https://wordpress.org/support/users/typo404/)
 * (@typo404)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/inserting-multiple-stylesheets-038-javascript/#post-704838)
 * I’ve used that method for my other stylesheets but I’m not convinced they’re 
   being seen. One of them links to my sIFR stylesheet and that isn’t displaying
   at all. Although the output from viewsource does have the correct URL using the
   above line.
 * Also what about Javascript? If you have a Javascript directory and want to link
   to that instead of “stylesheet_directory” what should you use?
 * Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Inserting Multiple Stylesheets & Javascript’ is closed to new replies.

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [Multiple Styles](https://wordpress.org/support/topic-tag/multiple-styles/)
 * [Stylesheet](https://wordpress.org/support/topic-tag/stylesheet/)

 * 2 replies
 * 2 participants
 * Last reply from: [typo404](https://wordpress.org/support/users/typo404/)
 * Last activity: [18 years, 1 month ago](https://wordpress.org/support/topic/inserting-multiple-stylesheets-038-javascript/#post-704838)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
