C:\xampp\htdocs\landing\wp-content\updraft\themes-old\pennews_\bbpress\loop-single-topic.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<?php

/**
 * Topics Loop - Single
 *
 * @package bbPress
 * @subpackage Theme
 */

?>

<ul id="bbp-topic-<?php bbp_topic_id(); ?><?php bbp_topic_class(); ?>>

    <li class="bbp-topic-title">

        <?php if ( bbp_is_user_home() ) : ?>

            <?php if ( bbp_is_favorites() ) : ?>

                <span class="bbp-row-actions">

                    <?php do_action'bbp_theme_before_topic_favorites_action' ); ?>

                    <?php bbp_topic_favorite_link( array( 'before' => '''favorite' => '+''favorited' => '&times;' ) ); ?>

                    <?php do_action'bbp_theme_after_topic_favorites_action' ); ?>

                </span>

            <?php elseif ( bbp_is_subscriptions() ) : ?>

                <span class="bbp-row-actions">

                    <?php do_action'bbp_theme_before_topic_subscription_action' ); ?>

                    <?php bbp_topic_subscription_link( array( 'before' => '''subscribe' => '+''unsubscribe' => '&times;' ) ); ?>

                    <?php do_action'bbp_theme_after_topic_subscription_action' ); ?>

                </span>

            <?php endif; ?>

        <?php endif; ?>

        <?php do_action'bbp_theme_before_topic_title' ); ?>

        <a class="bbp-topic-permalink" href="<?php bbp_topic_permalink(); ?>"><?php bbp_topic_title(); ?></a>

        <?php do_action'bbp_theme_after_topic_title' ); ?>

        <?php bbp_topic_pagination(); ?>

        <?php do_action'bbp_theme_before_topic_meta' ); ?>

        <p class="bbp-topic-meta">

            <?php do_action'bbp_theme_before_topic_started_by' ); ?>

            <span class="bbp-topic-started-by"><?php printf__'Started by: %1$s''pennews' ), bbp_get_topic_author_link( array( 'size' => '60' ) ) ); ?></span>

            <?php do_action'bbp_theme_after_topic_started_by' ); ?>

            <?php if ( !bbp_is_single_forum() || ( bbp_get_topic_forum_id() !== bbp_get_forum_id() ) ) : ?>

                <?php do_action'bbp_theme_before_topic_started_in' ); ?>

                <span class="bbp-topic-started-in"><?php printf__'in: <a href="%1$s">%2$s</a>''pennews' ), bbp_get_forum_permalinkbbp_get_topic_forum_id() ), bbp_get_forum_titlebbp_get_topic_forum_id() ) ); ?></span>

                <?php do_action'bbp_theme_after_topic_started_in' ); ?>

            <?php endif; ?>

        </p>

        <?php do_action'bbp_theme_after_topic_meta' ); ?>

        <?php bbp_topic_row_actions(); ?>

    </li>

    <li class="bbp-topic-voice-count"><?php bbp_topic_voice_count(); ?></li>

    <li class="bbp-topic-reply-count"><?php bbp_show_lead_topic() ? bbp_topic_reply_count() : bbp_topic_post_count(); ?></li>

    <li class="bbp-topic-freshness">

        <?php do_action'bbp_theme_before_topic_freshness_link' ); ?>

        <?php bbp_topic_freshness_link(); ?>

        <?php do_action'bbp_theme_after_topic_freshness_link' ); ?>

        <p class="bbp-topic-meta">

            <?php do_action'bbp_theme_before_topic_freshness_author' ); ?>

            <span class="bbp-topic-freshness-author"><?php bbp_author_link( array( 'post_id' => bbp_get_topic_last_active_id(), 'size' => 40 ) ); ?></span>

            <?php do_action'bbp_theme_after_topic_freshness_author' ); ?>

        </p>
    </li>

</ul><!-- #bbp-topic-<?php bbp_topic_id(); ?> -->
x

Windows NT KPTV 6.2 build 9200 (Windows Server 2012 Datacenter Edition) i586