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/form-topic-tag.php

    r4733 r5310  
    4040                        <label for="tag-slug"><?php _e( 'Slug:', 'bbpress' ); ?></label>
    4141                        <input type="text" id="tag-slug" name="tag-slug" size="20" maxlength="40" tabindex="<?php bbp_tab_index(); ?>" value="<?php echo esc_attr( apply_filters( 'editable_slug', bbp_get_topic_tag_slug() ) ); ?>" />
     42                    </div>
     43
     44                    <div>
     45                        <label for="tag-description"><?php _e( 'Description:', 'bbpress' ); ?></label>
     46                        <input type="text" id="tag-description" name="tag-description" size="20" tabindex="<?php bbp_tab_index(); ?>" value="<?php echo esc_attr( bbp_get_topic_tag_description( array( 'before' => '', 'after' => '' ) ) ); ?>" />
    4247                    </div>
    4348
Note: See TracChangeset for help on using the changeset viewer.