Skip to:
Content

bbPress.org


Ignore:
Timestamp:
01/22/2012 12:18:25 AM (8 years ago)
Author:
johnjamesjacoby
Message:

Add attributes to forum/topic/reply contextual help. Props Mamaduka. Fixes #1699.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-admin/bbp-topics.php

    r3686 r3688  
    217217
    218218        if ( current_theme_supports( 'topic-formats' ) && topic_type_supports( 'topic', 'topic-formats' ) ) {
    219             $publish_box .= '<p>' . __( '<strong>topic Format</strong> - This designates how your theme will display a specific topic. For example, you could have a <em>standard</em> blog topic with a title and paragraphs, or a short <em>aside</em> that omits the title and contains a short text blurb. Please refer to the Codex for <a href="http://codex.wordpress.org/topic_Formats#Supported_Formats">descriptions of each topic format</a>. Your theme could enable all or some of 10 possible formats.', 'bbpress' ) . '</p>';
     219            $publish_box .= '<p>' . __( '<strong>topic Format</strong> - This designates how your theme will display a specific topic. For example, you could have a <em>standard</em> blog topic with a title and paragraphs, or a short <em>aside</em> that omits the title and contains a short text blurb. Please refer to the Codex for <a href="http://codex.wordpress.org/Post_Formats#Supported_Formats">descriptions of each topic format</a>. Your theme could enable all or some of 10 possible formats.', 'bbpress' ) . '</p>';
    220220        }
    221221
     
    223223            $publish_box .= '<p>' . __( '<strong>Featured Image</strong> - This allows you to associate an image with your topic without inserting it. This is usually useful only if your theme makes use of the featured image as a topic thumbnail on the home page, a custom header, etc.', 'bbpress' ) . '</p>';
    224224        }
     225
     226        $current_screen->add_help_tab( array(
     227            'id'      => 'topic-attributes',
     228            'title'   => __( 'Topic Attributes', 'bbpress' ),
     229            'content' =>
     230                '<p>' . __( 'Select the attributes that your topic should have:', 'bbpress' ) . '</p>' .
     231                '<ul>' .
     232                    '<li>' . __( '<strong>Forum</strong> dropdown determines the parent forum that the topic belongs to. Select the forum or category from the dropdown, or leave the default (No Forum) to post the topic without an assigned forum.', 'bbpress' ) . '</li>' .
     233                    '<li>' . __( '<strong>Topic Type</strong> dropdown indicates the sticky status of the topic. Selecting the super sticky option would stick the topic to the front of your forums, i.e. the topic index, sticky option would stick the topic to its respective forum. Selecting normal would not stick the topic anywhere.', 'bbpress' ) . '</li>' .
     234                '</ul>'
     235        ) );
    225236
    226237        $current_screen->add_help_tab( array(
Note: See TracChangeset for help on using the changeset viewer.