Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Fix] Buddypress and Elementor


  • fl4re
    Participant

    @fl4re

    I found solution, already noticed Elementor team, I’m pasting it here to:

    I had a problem with Elementor and buddypress. It did not allow me to edit the pages after they had already been saved for the first time. When looking for a solution on the Internet, I found nothing, so I started looking for it on my own. After a few hours, I discovered Elementor was messing up apparent activity. To make Elementor work with buddypress, just add in the activity template: “if (! Is_admin ()) {” theme_code “}”

    I hope it will help many people around internet that had issue with elementor and buddypress
    Cheers 😉

Viewing 2 replies - 1 through 2 (of 2 total)

  • fl4re
    Participant

    @fl4re

    it work better in bp-core/bp-core-template.php

    function bp_is_active( $component = '', $feature = '' ) {
    	if ($component=='activity') {
    	if (strpos($_SERVER['REQUEST_URI'], "elementor-preview") == true){
    		return false;
    	}	
    	}	

    socialpumps
    Participant

    @socialpumps

    so which of these actually work and where do i add them???

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