Skip to:
Content
Pages
Categories
Search
Top
Bottom

Recent Replies Under Forum Contents


  • varsitysmack
    Participant

    @varsitysmack

    On every bbPress page, I’d like to list the recent replies under the forum content, much like this site:

    How can this be done?

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

  • Lynq
    Participant

    @lynq

    You could do something like:

    http://pastebin.com/VHBd0uwh

    and put it at the bottom of loop-forums.php.

    Good luck!

    • This reply was modified 12 years, 4 months ago by Lynq.

    varsitysmack
    Participant

    @varsitysmack

    Hey, Thanks for the suggestion, but it didn’t do the trick. Any other suggestions?

    I’m not sure if I’m reading what you want correctly but is this shortcode what your looking for?

    [bbp-topic-index] – This will show the most recent 15 topics across all your forums with pagination.

    https://codex.bbpress.org/shortcodes/


    varsitysmack
    Participant

    @varsitysmack

    Hi, no.. it’s not. I’m looking to display all replies across all forms under the forum topic index and under the individual forum pages.

    Something like what this site is doing: http://www.silverdoctors.com/sd-reader-forum/ where they have the Most Recent Forum Comment – only it’s not really comments – it’s topic replies.


    varsitysmack
    Participant

    @varsitysmack

    @linq – I tried your solution again (thinking that I might have goofed something up the first time), but I don’t think I did because I still can’t get a list of replies to show up under the forum pages.

    @netweb – a short code like this would probably work… but there are none: [bbp-reply-index]


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    The reason there is no shortcode for this, is because it doesn’t usually make sense to display a river of replies out of the context of their parent topics and forums. Hence, there’s no template to support this, because the use-case is most likely custom to the application.

    In the future, we will need to address this so that searching topics and replies has a place to output exactly what makes sense to see, but it sounds like even that isn’t exactly what you’re trying to do.

    I’d recommend you look into writing your own WP_Query or using get_posts() to customize this output yourself. Getting the posts and their data out is easy, then it’s up to you to make it look and work like you need it to.

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