From header.php
<link rel="stylesheet" href="<?php bb_stylesheet_uri(); ?>" type="text/css" />
<?php if ( 'rtl' == bb_get_option( 'text_direction' ) ) : ?>
<link rel="stylesheet" href="<?php bb_stylesheet_uri( 'rtl' ); ?>" type="text/css" />
bb_stylesheet_uri();
yes, yes. But i have a other css in my bb-templates/tpl1/css/enplus.css
how to add this? i want that it works even if i rename my theme, or if i share it.
<link rel="stylesheet" href="<?php bb_stylesheet_uri( 'css/enplus.css' ); ?>" type="text/css" />
doesn’t work.
Well, that function gives the URI of the stylesheet, which will be a file, not a directory (sorry). Try this instead:
<link rel="stylesheet" href="<?php bb_active_theme_uri(); ?>css/enplus.css" type="text/css" />
You had some other errors in there too, in addition to the wrong function I gave you.
There’s lots of neat stuff in bb-includes/template-functions.php – take a look.