Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Problems displaying shortcode contents in non-standard BP 1.7 themes

@hnla

Participant

@sensibleplugins don’t think this is a bug necessarily, Not sure I can get the order of processing clear with your snippet but it suggests that you are applying your filters too early and BP is still getting to cut in with it’s own.

In my circumstance I’m forcing a cpt content loop through to a do_action on a groups page so think my filters run and are processed before bp grabs that page content to push out to or replace the wp content loop.

I have just changed my filters to bp_restore_all_filters(‘the_content’) and then add back via bp_remove_all_filters(‘the_content’) as I needed the do_shortcodes running as well, this, in my situation, works fine.

Skip to toolbar