Skip to:
Content

bbPress.org


Ignore:
Timestamp:
03/05/2014 07:08:27 PM (11 years ago)
Author:
johnjamesjacoby
Message:

Allow topic-tag descriptions to be edited theme-side. Props netweb. Fixes #1613.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/templates/default/bbpress/content-archive-topic.php

    r4971 r5310  
    2424    <?php bbp_breadcrumb(); ?>
    2525
    26     <?php if ( bbp_is_topic_tag() ) bbp_topic_tag_description(); ?>
     26    <?php do_action( 'bbp_template_before_topic_tag_description' ); ?>
     27
     28    <?php if ( bbp_is_topic_tag() ) : ?>
     29
     30        <?php bbp_topic_tag_description( array( 'before' => '<div class="bbp-template-notice info"><p>', 'after' => '</p></div>' ) ); ?>
     31
     32    <?php endif; ?>
     33
     34    <?php do_action( 'bbp_template_after_topic_tag_description' ); ?>
    2735
    2836    <?php do_action( 'bbp_template_before_topics_index' ); ?>
Note: See TracChangeset for help on using the changeset viewer.