Skip to:
Content
Pages
Categories
Search
Top
Bottom

Template URI

  • @dbmartin

    Member

    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'); ?>)?

Viewing 4 replies - 1 through 4 (of 4 total)
  • @chrishajer

    Participant

    It’s called in header.php:

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

    <?php bb_stylesheet_uri(); ?>

    @dbmartin

    Member

    Thanks!

    @loligo_vulgaris

    Member

    How can I remove the stylesheet filename?

    @gerikg

    Member

    use bb_active_theme_uri() instead

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar