Skip to:
Content
Pages
Categories
Search
Top
Bottom

listing bbpress forums and it's posts on wordpress homepage


  • rsg2
    Participant

    @rsg2

    hello

    i have a wordpress site with bbpress installed. i have 3 subforums in bbpress. on the homepage of my wordpress site, i would like to list out those 3 forums with the lastest 5 posts from each.

    please take a look at this image:

    the styling doesn’t have to look like the attached as long as i can list out the individual subforums and 5 of its most recent posts.

    i have setup 3 columns with ability to put shortcodes.

    i tried using some of the shortcodes provided by bbpress with no luck.

    SOS please!!! i’m running out of options…lol

    thanks in advance,

    chris

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

  • Robin W
    Moderator

    @robin-w

    Not a quick answer – how well are you able to code?


    rsg2
    Participant

    @rsg2

    i have a friend is well versed in coding and is willing to help. could you give us direction? would appreciated it greatly!

    thanks much!

    chris


    Robin W
    Moderator

    @robin-w

    yes, start with

    http://www.rewweb.co.uk/bbpress-additional-shortcodes/

    This list the last 5 topics across all the forums, and your friend should be able to crack it open

    the end function

    function rw_display_topic_index_query( $args = array() ) {
    		global $show ;
    		$args['author']        = 0;
    		$args['show_stickies'] = true;
    		$args['order']         = 'DESC';
    		$args['posts_per_page'] = $show ;
    		return $args;
    	}

    just needs an extra parameter to get the right forum,

    If you get him to also look at

    wp-content/plugins/bbpress/includes/common/shortcodes

    he’ll find some useful code to do that


    Robin W
    Moderator

    @robin-w

    PS in the spirit of open software, when he has cracked it, can you post the solution on here so others can use, I quite fancy it for the footer of one of my website’s home page !!


    rsg2
    Participant

    @rsg2

    thanks for the quick response. will have my friend look into this.

    when we have a solution, i’ll post it here!

    thanks!!!

    chris

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