路径: /wp-content/themes/zibll/inc/functions/bbs/inc/single.php
替换整个zib_bbs_single_footer()函数即可
function zib_bbs_single_footer()
{
global $post;
$html = '';
$cat = zib_get_topics_tags('', 'but ml6 radius', '<i class="fa fa-cube" aria-hidden="true"></i>');
$cat .= zib_get_cat_tags('but ml6 radius', '<i class="fa fa-folder-open-o" aria-hidden="true"></i>');
$tags = zib_get_posts_tags('but ml6 radius', '# ');
if (_pz('yiyan_single_content_footer')) {
$html .= zib_yiyan('article-yiyan theme-box text-center radius8 main-shadow yiyan-box');
}
do_action('zib_article_content_after', $post);
if (_pz('post_copyright_s')) {
$html .= '<div class="em09 muted-3-color"><div><span>©</span> 免责声明</div><div class="posts-copyright">' . _pz('post_copyright') . '</div></div>';
}
if ($cat || $tags) {
$html .= '<div class="theme-box article-tags">' . $cat . '<br>' . $tags . '</div>';
}
echo $html;
do_action('bbs_single_footer', $post);
//标签和话题的按钮
//底部按钮
$favorite_btn = zib_bbs_get_posts_favorite_btn($post->ID, 'item');
$share_btn = zib_bbs_get_posts_share_btn($post, 'item');
$rewards_btn = zib_get_rewards_button($post->post_author, 'item');
$dropdown = zib_bbs_get_posts_more_dropdown($post->ID, 'relative pull-right px14 item drop-fixed-sm', 'toggle-radius opacity8');
$action = '<div class="forum-article-footer flex ac jsb mb10 footer-actions">';
$action .= '<div class="left flex ac">';
$action .= $rewards_btn;
$action .= '</div>';
$action .= '<div class="right flex ac">';
$action .= $share_btn;
$action .= $favorite_btn;
$action .= $dropdown;
$action .= '</div>';
$action .= '</div>';
echo $action;
}
© 免责声明
本帖子内容由用户发布,仅代表发帖人观点,与6ke论坛立场无关。我们不对任何用户生成内容的准确性、完整性、适用性或合法性做出保证。使用本信息的风险由您自行承担。如发现违法违规内容,请立即联系我们。详情请参阅完整的用户协议和隐私协议。