Support » Plugin: Page Builder by SiteOrigin » Conflict with Archive Control plugin

  • I have installed plugins Archive Control(version 1.3.3) and the Page Builder plugin makes it fails when I try to display a description in my archive page. Instead displaying the description, it displays the content of my first post in the archive page.

    After reviewing the code, I see that Page Builder adds a filter to the_content in line 77 of siteorigin-panels.php:
    add_filter( 'the_content', array( $this, 'generate_post_content' ) );

    If I commented this line, then Archive Control works well. There is a custom filter inside generate_post_content function that makes this filter function returns the content without modification, I used it on my archive page to avoid the bug:

    add_filter('siteorigin_panels_filter_content_enabled', function($flag){
      return false;
    });

    I would like to know if it is a good way to solve this problem or if it is a bug in the plugin that will be solved.

    Thanks,

    • This topic was modified 2 years, 3 months ago by Webilop. Reason: Formatting problem
  • The topic ‘Conflict with Archive Control plugin’ is closed to new replies.