Skip to:
Content
Pages
Categories
Search
Top
Bottom

Topic Title on Forum Index


  • kachan64
    Participant

    @kachan64

    I’ve looked everywhere and no luck. Basiclly I want to do what this site do http://kylekushman.com/forum/ with topic title above author and remove the date link.

    I tried <?php bbp_topic_title(); ?> and it works, but when ever I post something in the sub-forum, it shows the forum/sub-forum title instead

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

  • Robkk
    Moderator

    @robkk

    I can tell that it looks like that site is using this user created theme, and it might be useful to look at using it.

    https://github.com/EpicWebs/bbPress-starter-theme-epicwebs


    kachan64
    Participant

    @kachan64

    Thanks, the code from github is running outside of a forum loop and works on a localhost test site. They used the code in loop-forum.php

    				<?php if (($has_replies = (strstr(bbp_get_forum_freshness_link(), '<a')))): ?>
    					
    					<?php bbp_topic_title(array( 'post_id' => bbp_get_forum_id() ) ); ?>,&nbsp;<?php _ex('by ', 'bbPress Freshness Author', 'bunyad'); ?>
    					<?php bbp_author_link( array( 'post_id' => bbp_get_forum_last_active_id(), 'size' => 45 ) ); ?></span>
    					
    				<?php endif; ?>

    This is my code running inside a loop in loop-single-forum.php and didn’t work, will just output my forum title for some strange reason if I post to that forum’s sub-forum.


    Robkk
    Moderator

    @robkk

    This is what you are trying to achieve right?/


    agushardiman
    Participant

    @agushardiman

    I have this problem to….No topics title in the forum index, just he forum category title on new topic post:
    No title shows up in forum index !

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