do_action('bp_after_sidebar_me'); ?> <?php } ?> <?php /* Show forum tags on the forums directory */ if (bp_is_active('forums') && bp_is_forums_component() && bp_is_directory()) { ?> <aside id="forum-directory-tags" class="widget tags"> <h3 class="widgettitle"><?php _e('Forum Topic Tags', 'status'); ?> </h3> <div id="tag-text"><?php bp_forums_tag_heat_map(); ?> </div> </aside> <?php } ?> <?php dynamic_sidebar('sidebar'); ?> <?php do_action('bp_inside_after_sidebar'); ?> </div>
/** * buddypress default forum topic tags widget to show forum tags on the forums directory * * @package Custom Community * @since 1.8.3 */ function forum_tags_widget() { /* Show forum tags on the forums directory */ if (BP_FORUMS_SLUG == bp_current_component() && bp_is_directory()) { ?> <div id="forum-directory-tags" class="widget tags"> <h3 class="widgettitle"><?php _e('Forum Topic Tags', 'cc'); ?> </h3> <?php if (function_exists('bp_forums_tag_heat_map')) { ?> <div id="tag-text"><?php bp_forums_tag_heat_map(); ?> </div> <?php } ?> </div> <?php } }
<?php do_action( 'bp_sidebar_login_form' ) ?> <input type="submit" name="wp-submit" id="sidebar-wp-submit" value="<?php _e('Log In'); ?>" tabindex="100" /> <input type="hidden" name="testcookie" value="1" /> </form> <?php do_action( 'bp_after_sidebar_login_form' ) ?> <?php endif; ?> <?php /* Show forum tags on the forums directory */ if ( BP_FORUMS_SLUG == bp_current_component() && bp_is_directory() ) : ?> <div id="forum-directory-tags" class="widget tags"> <h3 class="widgettitle"><?php _e( 'Forum Topic Tags', 'buddypress' ) ?></h3> <?php if ( function_exists('bp_forums_tag_heat_map') ) : ?> <div id="tag-text"><?php bp_forums_tag_heat_map(); ?></div> <?php endif; ?> </div> <?php endif; ?> <?php dynamic_sidebar( 'sidebar' ) ?> <?php do_action( 'bp_inside_after_sidebar' ) ?> <br class="clear" /> </div><!-- .padder --> <ul class="xoxo"> <?php /* When we call the dynamic_sidebar() function, it'll spit out * the widgets for that widget area. If it instead returns false,