Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: How can I set “Show NewBlogPosts” as default on acitivity-stream?


nickrita
Participant

@nickrita

Nobody here who can help? It’s the only problem I still have before I can upgrade my site to bp 1.2.1.

I read https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/

an I tried <?php if ( bp_has_activities('action=new_blog_post') ) : ?>

instead of <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) ) ) : ?>

in activity-loop.php, but then only the new blog posts are shown, no matter which options I take.

I want the new blog posts only as default and not as only option.

Please, if anybody could be so kind to tell me the code and where to put it, I would be vergly glad.

Skip to toolbar