• Hey,

    I am using the page builder on my site and I also installed the Plugin Sticky Popup where you can write some content into a metabox and output it in a sticky popup window in the frontend. But on pages where I use the page builder the popup displays the entire page content which shouldnt happen. I looked into the plugin file and could narrow it down to these lines of code

    if( $this->popup_content != '') {
            $this->popup_content = apply_filters('the_content', $this->popup_content );
    	$this->popup_content = str_replace( ']]>', ']]>', $this->popup_content );
    	$popup_html .= $this->popup_content;
    }

    So basically it gets the content out of the metabox with $this->popup_content and applies a filter on it to output things like shortcodes and stuff. If I delete the apply_filter line it works even on pages with page builder but then the shortcodes dont get processed right.

    So why does your plugin affect that and how can I fix it?

    regards

    https://www.ads-software.com/plugins/siteorigin-panels/

  • The topic ‘Bug with Plugin Sticky Popup’ is closed to new replies.