Skip to:
Content

bbPress.org


Ignore:
Timestamp:
05/28/2011 09:06:09 AM (15 years ago)
Author:
johnjamesjacoby
Message:

Commit bomb of improvements to the breadcrumb.

Checking for topic views, forum and topic archives, and do not check if the root slug is included in the URL.
Add breadcrumb to forum archive and topic archive, since they exist one level deeper than the "Home" page.
Add template tags to handle the forum/topic archive titles, which use a corresponding page title if one exists, and fallback to the post type label 'name' if not.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-themes/bbp-twentyten/archive-forum.php

    r3224 r3250  
    1818
    1919                <div id="forum-front" class="bbp-forum-front">
    20                     <h1 class="entry-title"><?php _e( 'Forums', 'bbpress' ); ?></h1>
     20                    <h1 class="entry-title"><?php bbp_forum_archive_title(); ?></h1>
    2121                    <div class="entry-content">
     22
     23                        <?php bbp_breadcrumb(); ?>
    2224
    2325                        <?php do_action( 'bbp_template_before_forums_index' ); ?>
Note: See TracChangeset for help on using the changeset viewer.