Forums
-
- Forum
- Posts
-
- Installation
- 28,380
- Troubleshooting
- 62,251
- Themes
- 10,390
- Plugins
- 15,311
- Requests & Feedback
- 14,897
- Showcase
- 3,252
-
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