Skip to:
Content
Pages
Categories
Search
Top
Bottom

Getting shortcodes to work on Activity page


  • MBV
    Participant

    @mbv

    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?

Viewing 1 replies (of 1 total)

  • MBV
    Participant

    @mbv

    I was able to edit the template file itself and put the code there.

    Topic closed ๐Ÿ™‚

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar