Forums

Join
bbPress Support ForumsThemesTemplate URI

Info

Template URI

  1. Is there a template tag or function to get the uri to your template file? So far, all I've been able to find is <?php bb_option('url'); ?>, but that just returns the uri to the base directory. Is there one that will display the uri to the template directory? Like in WordPress (<?php bloginfo('template_directory'); ?>)?

  2. It's called in header.php:

    <link rel="stylesheet" href="<?php bb_stylesheet_uri(); ?>" type="text/css" />

    <?php bb_stylesheet_uri(); ?>

  3. Thanks!

  4. How can I remove the stylesheet filename?

  5. use bb_active_theme_uri() instead

  6. You must log in to post.