• Sorry, one more question.

    How to use filters to show only blog posts containing search terms (if possible)? I modified my custom activity loop to this:

    <?php if ( bp_has_activities('object=blogs' )) : ?>

    And only blog posts appear on activity stream, but this doesn’t seem to work:

    <?php if ( bp_has_activities('object=blogs&search_terms=term1…[Read more]

  • Well, i don’t know how i didn’t think about it before. Pretty simple, just changing the function which gets the slug. So:
    function the_slug() {
    $post_data = get_post($post->ID, ARRAY_A);
    $slug = $post_data['post_name'];
    $slug = str_replace(array('-'),' ',$slug);
    return $slug;
    }

    It gives me the slug as nice filtering terms like “chrono…[Read more]

  • Hello! First, what i’m using:

    WP: 3.6 beta3
    BP: 1.7.2
    BBPress: 2.3.2
    Theme: default theme (child)

    What i’m trying to do is create a custom template to load activities filtered by terms. So, i taked code from activity-loop.php to create a new “custom.php” file, put it on template root and create a new page using this template.

    This is the…[Read more]