Skip to:
Content

bbPress.org


Ignore:
Timestamp:
08/11/2011 08:56:49 PM (13 years ago)
Author:
johnjamesjacoby
Message:

Add actions to bbp-twentyten template files for forums, topics, and replies. See #1538.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-themes/bbp-twentyten/bbpress/loop-forums.php

    r3311 r3417  
    3434
    3535                    <td class="bbp-forum-info">
     36
     37                        <?php do_action( 'bbp_theme_before_forum_title' ); ?>
     38
    3639                        <a class="bbp-forum-title" href="<?php bbp_forum_permalink(); ?>" title="<?php bbp_forum_title(); ?>"><?php bbp_forum_title(); ?></a>
     40
     41                        <?php do_action( 'bbp_theme_after_forum_title' ); ?>
     42
     43                        <?php do_action( 'bbp_theme_before_forum_sub_forums' ); ?>
    3744
    3845                        <?php bbp_list_forums(); ?>
    3946
     47                        <?php do_action( 'bbp_theme_after_forum_sub_forums' ); ?>
     48
     49                        <?php do_action( 'bbp_theme_before_forum_description' ); ?>
     50
    4051                        <div class="bbp-forum-description"><?php the_content(); ?></div>
     52
     53                        <?php do_action( 'bbp_theme_after_forum_description' ); ?>
     54
    4155                    </td>
    4256
     
    4761                    <td class="bbp-forum-freshness">
    4862
     63                        <?php do_action( 'bbp_theme_before_forum_freshness_link' ); ?>
     64
    4965                        <?php bbp_forum_freshness_link(); ?>
     66
     67                        <?php do_action( 'bbp_theme_after_forum_freshness_link' ); ?>
    5068
    5169                        <p class="bbp-topic-meta">
    5270
     71                            <?php do_action( 'bbp_theme_before_topic_author' ); ?>
     72
    5373                            <span class="bbp-topic-freshness-author"><?php bbp_author_link( array( 'post_id' => bbp_get_forum_last_active_id(), 'size' => 14 ) ); ?></span>
     74
     75                            <?php do_action( 'bbp_theme_after_topic_author' ); ?>
    5476
    5577                        </p>
Note: See TracChangeset for help on using the changeset viewer.