Forums
-
- Forum
- Posts
-
- Installation
- 27,758
- Troubleshooting
- 60,837
- Themes
- 10,203
- Plugins
- 15,012
- Requests & Feedback
- 14,661
- Showcase
- 3,238
-
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