Support » Plugin: Events Made Easy » overwrites EXCERPT of other widget

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Franky

    (@liedekef)

    I need to test this out myself, but can you try the folowing:
    in the file eme_events.php, look for the lines (at around line 783):

    if (count($wp_current_filter)>1 && end($wp_current_filter)=='the_content' && $eme_count_arr['the_content']>1) {
          $eme_event_parsed=1;
        } else {
          $eme_event_parsed=0;
        }

    and change it into:

    if (count($wp_current_filter)>1 && end($wp_current_filter)=='the_content' && $eme_count_arr['the_content']>1) {
          $eme_event_parsed=1;
    } elseif (count($wp_current_filter)>1 && end($wp_current_filter)=='the_excerpt' && $eme_count_arr['the_excerpt']>1) {
          $eme_event_parsed=1;
    } else {
          $eme_event_parsed=0;
    }

    At line 783 I can find this:

    if (count($wp_current_filter)>1 && end($wp_current_filter)=='the_content' && $eme_count_arr['the_content']>1) {
          $eme_event_parsed=1;
       } else {
          $eme_event_parsed=0;
       }

    After replacing it, there is still the same problem.

    Plugin Author Franky

    (@liedekef)

    This is weird … I just tried it out myself locally: latest minimatica theme 1.0.8 and EME 1.0.7, latest WP 3.5 and everything works just fine (also latest posts)

    I updated wordpress to 3.5, so I have exactly the same config as you – still the problem….! :o(

    Can any old and uninstalled plugins cause the problem?

    Plugin Author Franky

    (@liedekef)

    Hmmm … come to think of it: I just used the defaults for the plugin tw-recent-posts, maybe that needs some extra settings to test?

    I just used a post category to be showed, and activated show post title and show post excerpt – that’s it. But also if I use another plugin/widget for latest posts, I get the same effect.

    Fort me it’s that the “post-excerpt variable / placeholder” (or whatever) get’s overwritten as soon as an event is called.

    Plugin Author Franky

    (@liedekef)

    It is one of the issues of wordpress where you can’t say that you want your filters not to work on widgets …
    I’ll try later on this evening again

    Okay, and thanks so far….

    If I change the theme, the problem is solved. I deleted the minimatica theme, re-installed it and the problem is back again (without changing any theme-file). I also tried to clean-up the database with the clean-up plugin, but I still have the problem. I now have a second problem: By inserting a featured image, I get an empty Media Gallery with no pictures at all. Also this problems dissapears with the twenty-ten theme. Is it a theme problem or something is meesing up in the database?

    The problem with the Media Library I was able to fix with this: http://wordpress.org/support/topic/issues-with-35?replies=17

    Plugin Author Franky

    (@liedekef)

    I’m sorry, but I’m not able to find the issue with your theme.
    The only thing I can think of is that their integration of widgets is not correctly implemented, since they are still “in the loop” when inside the widgets: WP function call in_the_loop() returns true for the tw_recent_posts widget in minimatica, while it returns false for e.g. twentytwelve.
    Maybe you can talk about this with the minimatica devs?

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘overwrites EXCERPT of other widget’ is closed to new replies.