Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to style forum title or topic title

  • @squid1974

    Participant

    Hi all,

    I can’t find where the title output is coming from. I want to wrap it in a <h1>. In the default templates it starts with <div id="bbpress-forums"> and the title’s output is before that. But where is it coming from? I can’t find it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • @freewpress

    Participant

    Open: loop-forums.php

    @squid1974

    Participant

    Following is my loop-forums.php – I still don’t understand where the title is coming from…

    
    <?php
    
    /**
     * Forums Loop
     *
     * @package bbPress
     * @subpackage Theme
     */
    
    ?>
    
    <?php do_action( 'bbp_template_before_forums_loop' ); ?>
    
    <ul id="forums-list-<?php bbp_forum_id(); ?>" class="bbp-forums">
    
    	<li class="bbp-header">
    
    		<ul class="forum-titles">
    			<li class="bbp-forum-info"><?php _e( 'Forum', 'bbpress' ); ?> </li>
    			<li class="bbp-forum-topic-count"><?php _e( 'Topics', 'bbpress' ); ?></li>
    			<li class="bbp-forum-reply-count"><?php bbp_show_lead_topic() ? _e( 'Replies', 'bbpress' ) : _e( 'Posts', 'bbpress' ); ?></li>
    			<li class="bbp-forum-freshness"><?php _e( 'Freshness', 'bbpress' ); ?></li>
    		</ul>
    
    	</li><!-- .bbp-header -->
    
    	<li class="bbp-body">
    
    		<?php while ( bbp_forums() ) : bbp_the_forum(); ?>
    
    			<?php bbp_get_template_part( 'loop', 'single-forum' ); ?>
    
    		<?php endwhile; ?>
    
    	</li><!-- .bbp-body -->
    
    	<li class="bbp-footer">
    
    		<div class="tr">
    			<p class="td colspan4">&nbsp;</p>
    		</div><!-- .tr -->
    
    	</li><!-- .bbp-footer -->
    
    </ul><!-- .forums-directory -->
    
    <?php do_action( 'bbp_template_after_forums_loop' ); ?>
    

    @freewpress

    Participant

    Ok, open content-archive-forum.php

    Sorry i understand what you want.. h1 title before id bbpress is made by wordpress, is title page, i think you find it in your page template!!

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