Getting shortcodes to work on Activity page
-
I tried to add some shortcode to the Activity page via Admin Dashboard > Pages > Activity > Page Edit Section, but itโs not rendering, instead it just renders the actual text for the shortcode.
Is there a way to allow BP page to render shortcodes from the page content?
I read on another forum to do the following but it was and old forum and I can’t find that file he referred to:
Try replacing line 39 of content-buddypress.php
$custom_content = wpautop( get_the_content() );
with this:
$custom_content = do_shortcode( get_the_content() );Any ideas?
- You must be logged in to reply to this topic.