Skip to:
Content
Pages
Categories
Search
Top
Bottom

Remove Topic Tags / (bbPress) Statistics Widget

Viewing 5 replies - 1 through 5 (of 5 total)

  • Robin W
    Moderator

    @robin-w

    do you know how to change a file and ftp this to your site?

    If so I’ll give you instructions


    .:DDoS:.
    Participant

    @xddosx

    @robin-w Yes! Just point me where and what file it is and where to insert codes. I’ll try my best. I hope it’s in Child Theme files so that it will not mess during update. Thank you!


    Robin W
    Moderator

    @robin-w

    create a directory on your child theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

    where %your-theme-name% is the name of your child theme

    find
    wp-content/plugins/bbpress/templates/default/bbpress/content-statistics.php
    Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/content-statistics.php
    bbPress will now use this template instead of the original
    and you can amend this

    so copy this file to your PC and open it up.

    then remove lines 37-40 which say

    <dt><?php _e( 'Topic Tags', 'bbpress' ); ?></dt>
    	<dd>
    		<strong><?php echo esc_html( $stats['topic_tag_count'] ); ?></strong>
    	</dd>
    

    and save the file back to your website at wp-content/themes/%your-theme-name%/bbpress/content-statistics.php

    and yes being a child theme change it won’t get overwritten.


    .:DDoS:.
    Participant

    @xddosx

    {SOLVE]. Thank you so much!


    Robin W
    Moderator

    @robin-w

    no problem – glad you are fixed !

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Skip to toolbar