Forums
-
- Forum
- Posts
-
- Installation
- 27,247
- Troubleshooting
- 59,554
- Themes
- 10,065
- Plugins
- 14,822
- Requests & Feedback
- 14,476
- Showcase
- 3,226
-
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.
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS