This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Darfuria

By: a guest on Aug 17th, 2009  |  syntax: PHP  |  size: 0.25 KB  |  views: 184  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php if (is_page()) { ?>
  2. <?php $cssdir = get_permalink(); ?>
  3. <?php $holder = explode("/",$cssdir) ?>
  4. <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/<?php echo $holder[3]; ?>/style.css" type="text/css" media="screen" />
  5. <?php } ?>
clone this paste RAW Paste Data