WordPress.org

Making WordPress.org

Changeset 5021


Ignore:
Timestamp:
03/01/2017 03:53:05 AM (3 years ago)
Author:
SergeyBiryukov
Message:

Support Theme: Add linked forum name to topic and reply lists in user profile.

See #2002.

Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/bbpress
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/bbpress/loop-single-reply.php

    r4875 r5021  
    1313    <div class="bbp-meta">
    1414            <span class="bbp-header">
     15                <?php esc_html_e( 'Forum:', 'wporg-forums' ); ?>
     16                <a class="bbp-forum-permalink" href="<?php bbp_forum_permalink( bbp_get_reply_forum_id() ); ?>"><?php bbp_forum_title( bbp_get_reply_forum_id() ); ?></a><br />
     17
    1518                <?php esc_html_e( 'In reply to: ', 'wporg-forums' ); ?>
    1619                <a class="bbp-topic-permalink" href="<?php bbp_topic_permalink( bbp_get_reply_topic_id() ); ?>"><?php bbp_topic_title( bbp_get_reply_topic_id() ); ?></a>
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/bbpress/loop-single-topic.php

    r4248 r5021  
    5151            <?php do_action( 'bbp_theme_after_topic_started_by' ); ?>
    5252
    53             <?php if ( ( bbp_is_single_view() && ! in_array( bbp_get_view_id(), array( 'plugin', 'theme', 'reviews', 'active' ) ) ) || ( bbp_is_single_forum() && bbp_get_topic_forum_id() != bbp_get_forum_id() ) ) : ?>
     53            <?php if ( ( bbp_is_single_view() && ! in_array( bbp_get_view_id(), array( 'plugin', 'theme', 'reviews', 'active' ) ) ) || ( bbp_is_single_forum() && bbp_get_topic_forum_id() != bbp_get_forum_id() ) || bbp_is_single_user_topics() ) : ?>
    5454
    5555                <?php do_action( 'bbp_theme_before_topic_started_in' ); ?>
Note: See TracChangeset for help on using the changeset viewer.