Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • I solved this problem by setting a minimum number of characters for text “Only show if article is longer than:”

    Hi all! I faced the problem, when the plugin did not work on post page because of incompatibility of “feedwordpress” plugin with this one. I solved the problem by setting the priority of this plugin less than feedwordpress one.
    It was so:

    if (is_admin ()) {
      add_action('admin_menu', 'adopt_menu');
      add_action('admin_init', array($adopt, 'adopt_admin_init'));
    } if (!is_admin()) {
      add_filter('init', array($adopt, 'adopt_init'));
      add_action('wp_footer', array($adopt, 'adopt_debug'));
      add_action('loop_start', array($adopt, 'init_count'));
      add_filter('the_post', array($adopt, 'post_adopt'));
      add_action('loop_end', array($adopt, 'destroy_count'));
      add_filter('the_content', array($adopt, 'adsenseoptimize'));
    }

    Now it is:

    if (is_admin ()) {
      add_action('admin_menu', 'adopt_menu');
      add_action('admin_init', array($adopt, 'adopt_admin_init'));
    } if (!is_admin()) {
      add_filter('init', array($adopt, 'adopt_init'));
      add_action('wp_footer', array($adopt, 'adopt_debug'));
      add_action('loop_start', array($adopt, 'init_count'));
      add_filter('the_post', array($adopt, 'post_adopt'));
      add_action('loop_end', array($adopt, 'destroy_count'));
      add_filter('the_content', array($adopt, 'adsenseoptimize'), -100000);
    }

    I think the author should correct this bug

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