Skip to:
Content
Pages
Categories
Search
Top
Bottom

Delete “Header”

  • @lpmma

    Participant

    I want to delete the “header”, the one with freshness (see), can you help me with that?

    I use BBPress Visual Composer plugins !

    My website (with the header i want to remove): http://mmanouvelles.com/forum/

    I use the last WP version.

Viewing 11 replies - 1 through 11 (of 11 total)
  • @casiepa

    Moderator

    Bonsoir LPMMA,

    What freshness do you mean ? The one that says ‘il y a 46 minutes’ ?

    Pascal.

    @lpmma

    Participant

    I was refering to the header where the word “Freshness appear (only because I change some word), I want to remove the header, simple as that ! Thanks for the help !

    @casiepa

    Moderator

    Hi,

    If you want tune your site and remove some informational messages, check if my plugin can help you : https://wordpress.org/plugins/bbp-toolkit/

    Pascal.

    @robkk

    Moderator

    @lpmma

    The actual label in the header? The header entirely?? Or do you just need help changing the word to something else??

    @lpmma

    Participant

    Robk: The header entirely 😉

    @robkk

    Moderator

    You can use this custom CSS to hide it.

    #bbpress-forums li.bbp-header {
        display: none;
    }

    Or you can copy loop-topics.php to your child theme in a folder called bbpress. And remove these lines.

    <li class="bbp-header">
    
    		<ul class="forum-titles">
    			<li class="bbp-topic-title"><?php _e( 'Topic', 'bbpress' ); ?></li>
    			<li class="bbp-topic-voice-count"><?php _e( 'Voices', 'bbpress' ); ?></li>
    			<li class="bbp-topic-reply-count"><?php bbp_show_lead_topic() ? _e( 'Replies', 'bbpress' ) : _e( 'Posts', 'bbpress' ); ?></li>
    			<li class="bbp-topic-freshness"><?php _e( 'Freshness', 'bbpress' ); ?></li>
    		</ul>
    
    	</li>

    @lpmma

    Participant

    Thank you so much ! 🙂

    @lucio7

    Participant

    What I wanted to delete only the freshness column?

    @robin-w

    Moderator

    best way would be to edit the templates

    loop_forums
    loop-single-forum
    loop-topics
    loop-single-topic

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

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

    find
    wp-content/plugins/bbpress/templates/default/bbpress/loop-forums.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/loop-forums.php
    bbPress will now use this template instead of the original
    and you can amend this

    then repeat for the others

    @lucio7

    Participant

    Thank you Robin, I’ll get my dev to look into that as it’s a bit too complicated for me.

    BTW, you’re a star Robin, you work is helping many many people to get their ideas and work shared.

    I’ll be happy to give something back to you as soon as I get my biz off the ground. Cheers!

    @robin-w

    Moderator

    thanks for your kind comments – much appreciated !!

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