Skip to:
Content
Pages
Categories
Search
Top
Bottom

how to remove or hide post page title only ?


  • eddie01001
    Participant

    @eddie01001

    when i put this code
    li.bbp-header {
    display: none;
    }

    it works all forum pages title not show up

    but when i put the following code
    .post li.bbp-header {
    background: none repeat scroll 0% 0% transparent;
    display:block;
    }

    it has nothing happen no change at all

    how can i make just NO title on blog post only i want title on other pages.
    thanks

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

  • Robkk
    Moderator

    @robkk

    the li.bbp-header has nothing to do with page title.

    this code from my topic would not work on page title.

    give me a link to your site??


    Robkk
    Moderator

    @robkk

    do you want to remove the “The SEO Test Laboratory” ??


    Robkk
    Moderator

    @robkk

    disregard last reply, i confused you with another user.

    Please do require a link to your website though.


    eddie01001
    Participant

    @eddie01001

    thank Robkk

    here is my site under Chinese

    http://ww.168nyc.com/forums/topic/sd-2/

    here i have image show what i want remove


    eddie01001
    Participant

    @eddie01001


    Robkk
    Moderator

    @robkk

    just use

    li.bbp-header {
    display: none;
    }

    my topic that you posted on was about a plugin , and what it adds to a site.

    so if you just want to hide the li.bbp-header just use that code above.

    delete the other code with .post in it


    eddie01001
    Participant

    @eddie01001

    hi Robkk thank you for your reply
    the problem is my forum page header also removed after this code

    http://ww.168nyc.com/wp-content/uploads/2014/07/help5-1024×640.jpg


    Robkk
    Moderator

    @robkk

    you should be more specific next time so i could give you what you wanted

    copy loop-replies.php from your bbpress plugin to a child theme folder named bbpress, if you havent created one create one

    more information on this

    https://codex.bbpress.org/theme-compatibility/step-by-step-guide-to-creating-a-custom-bbpress-theme/

    remove this entire code inside of your loop-replies.php in your child theme

    <li class="bbp-header">
    
    		<div class="bbp-reply-author"><?php  _e( 'Author',  'bbpress' ); ?></div><!-- .bbp-reply-author -->
    
    		<div class="bbp-reply-content">
    
    			<?php if ( !bbp_show_lead_topic() ) : ?>
    
    				<?php _e( 'Posts', 'bbpress' ); ?>
    
    				<?php bbp_topic_subscription_link(); ?>
    
    				<?php bbp_user_favorites_link(); ?>
    
    			<?php else : ?>
    
    				<?php _e( 'Replies', 'bbpress' ); ?>
    
    			<?php endif; ?>
    
    		</div><!-- .bbp-reply-content -->
    
    	</li><!-- .bbp-header -->

    if you want to keep the favorite and subscribe links just place this code anywhere where you want to put them

    <?php bbp_topic_subscription_link(); ?>

    <?php bbp_user_favorites_link(); ?>


    eddie01001
    Participant

    @eddie01001

    thank you so much Robkk


    Robkk
    Moderator

    @robkk

    No problem

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