補充下代碼:
路徑:/wp-content/plugins/bbpress/includes/common/widgets.php
<div class="bbp-logged-in">
<a href="<?php bbp_user_profile_url( bbp_get_current_user_id() ); ?>" class="submit user-submit"><?php echo get_avatar( bbp_get_current_user_id(), '80' ); ?></a>
<h4> 您好,<?php bbp_user_profile_link( bbp_get_current_user_id() ); ?></h4>
<a href="<?php bbp_user_topics_created_url( bbp_get_current_user_id() ); ?>" target="_self" class="button link-menu"> 我的話題</a>
<a href="<?php bbp_user_replies_created_url( bbp_get_current_user_id() ); ?>" target="_self" class="button link-menu"> 論壇回覆</a>
<a href="<?php bbp_favorites_permalink( bbp_get_current_user_id() ); ?>" target="_self" class="button link-menu"> 個人收藏</a>
<a href="https://mall.weixiaoduo.com/my-account/downloads/" target="_blank" class="button link-menu"> 產品下載</a>
<?php bbp_logout_link(); ?>
</div>