skip to Main Content

Divi theme – How to Make the BuddyBoss BuddyPress Activity Stream Compatible With DIVI Builder?

Together with https://www.codementor.io/@robertverdes we fixed the activity stream compatibility issue between DIVI and BuddyBoss -- it was showing shortcodes. The change is to be made in the buddyboss-theme/buddypress/activity/entry.php file. ''' <div class="activity-inner"><?php $res=preg_replace('#[[^]]+]#','',bp_get_activity_content_body()); $pos=strpos($res,"["); if($pos>0){ $posEnd = strpos($res,"&hellip;",$pos); if($posEnd>$pos){ $replaceStr=substr($res,$pos,$posEnd-$pos);…

VIEW QUESTION
Back To Top
Search