Skip to:
Content
Pages
Categories
Search
Top
Bottom

how to show a topic list from just one forum ?

  • @gin_marcin

    Participant

    Hi,

    Is there a way I can show a topic list from just one forum on a page ?
    I already tried the standard widgets – e.g. recent topics – but this one shows topics from all forums. Additionally I used the shortcode [bbp-single-forum id=00] but this shows beside the list also the creation of a new topic – I only would like to have the list.

    Thanks
    Marcin

    P.S. Working local; WP 4.3.1; bbPress 2.5.8; Theme GeneratePress

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

    Moderator

    Hi,

    That shortcode calls the content-single-forum.php template file. So you’re options are to copy that file to your theme and edit it (but this will be reflected globally, not just in the shortcode).
    Or create your own shortcode based off the bbPress one and have it use a custom template file.

    Pascal.

    @gin_marcin

    Participant

    hi Pascal,

    Thanks – I was hoping that I do not have to “code” anything 🙂 and can use something already prebuild and only exchange the forum Id.

    THX
    Marcin

    @casiepa

    Moderator

    Hi,
    Maybe a CSS trick can help. Let’s have another look.

    @casiepa

    Moderator

    Yeah, this seems to remove it. Place it somewhere where you can add CSS:

    .bbp-topic-form .bbp-form legend {
    	display: none;
    }

    Pascal.

    @gin_marcin

    Participant

    doesn’t work on my side :-(;

    adapted my child css but it’s still the same result;

    the list gets fingered with the topics by the specified forum, but all the rest (header on top of the list and create new topic below the list) is still there.

    thx
    marcin

    @gin_marcin

    Participant

    I found now a solution with bbp Stylepack and the provided shrotcodes:

    [bsp-display-topic-index show=’5′ forum =’10’ show_stickies=’true’ template = ‘short’]

    now only the topics from one forum are displayed

    thx for help !
    Marcin

    @robkk

    Moderator

    @gin_marcin

    You can also use the code I posted here. It is straight from that plugin.

    Show 5 Recent Topics without Pagination Just like on bbpress.org homepage

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