Skip to:
Content
Pages
Categories
Search
Top
Bottom

Get list of topic replies in stand-alone program

  • A newbie to bbPpress, I would like to build a stand-alone program to display/generate a list of replies to a certain topic using the WP wrapper

    require(‘./wp-blog-header.php’);

    If I include wp-blog-header.php will that include the bbPress environment automatically or do I need to bring in other includes?

    I would like something as follows but I need some help on what to include and what functions to get what I need.

    global $bbp;

    $myreplies = get_replies(’123′);

    foreach($myreplies as $reply) :

    $field1= get_the_title();

    }

    Thanks!

You must be logged in to reply to this topic.