Skip to:
Content
Pages
Categories
Search
Top
Bottom

Delete “Header”

Viewing 11 replies - 1 through 11 (of 11 total)
  • Bonsoir LPMMA,

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

    Pascal.


    LPMMA
    Participant

    @lpmma

    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 !

    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

    @robkk

    @lpmma

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


    LPMMA
    Participant

    @lpmma

    Robk: The header entirely 😉


    Robkk
    Moderator

    @robkk

    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

    @lpmma

    Thank you so much ! 🙂


    lucio7
    Participant

    @lucio7

    What I wanted to delete only the freshness column?


    Robin W
    Moderator

    @robin-w

    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

    @lucio7

    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

    @robin-w

    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