Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Getting the URI of the stylesheet directory?

@tomdebruin

Participant

I’m using bb_get_active_theme_directory() to detect any changes to my stylesheet.

<link rel="stylesheet" href="<?php bb_stylesheet_uri(); echo '?' . filemtime( bb_get_active_theme_directory() . '/style.css'); ?>" type="text/css" media="screen, projection" />

if I echo bb_get_active_theme_directory() on my page it does return the correct value. I’m using bbP 1.0.1.

Skip to toolbar