Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • My 5+ year old setup recently stopped sending emails.
    I just noticed that I haven’t received any form submission from Contactform7 for the last 10 days.

    I’ve also noticed that a separate plugin, Easy Appointments, hasn’t sent emails for 5 days.

    My wordpress was automatically upgraded by my host 3 days ago.

    @marpessa1
    I am having the exact same issue. Do you mind sharing how you were able to fix yours?

    Thanks to Marisa who pointed out a few mistakes in my code above. The “insert day” code should actually read:

    // insert day
    $day_id = $date->day_id();
    echo “<td id=’$day_id'”;

    if(array_key_exists($day_id,$calendar_days))
    {
    echo ‘ class=”ec3_postday’;
    if($calendar_days[$day_id]->is_event)
    echo ‘ ec3_eventday’;
    //echo ‘>’ . $date->day_num;
    echo ‘”>’;
    echo ‘day_link() . ‘” title=”‘ . $calendar_days[$day_id]->get_titles() . ‘”‘;

    if($calendar_days[$day_id]->is_event)
    echo ‘ class=”eventday”‘;
    echo “>$date->day_num“;
    echo $calendar_days[$day_id]->get_titles() ;
    }
    else
    {
    echo ‘>’ . $date->day_num;
    }

    echo ‘</td>’;

    Since this post was so helpful to me, I thought I’d provide an update. With the advent of EventCalendar3, I had to hack away at the eventcalendar3.php file to make it do the same thing as The Writing Salon site.

    1) To put the post titles inside the calendar find

    // insert day
    $day_id = $date->day_id();
    echo “<td id=’$day_id'”;

    and below it make the following tweaks

    if(array_key_exists($day_id,$calendar_days))
    {
    echo ‘ class=”ec3_postday’;
    if($calendar_days[$day_id]->is_event)
    echo ‘ ec3_eventday’;
    //echo ‘>’ . $date->day_num;
    echo ‘”>’;
    echo ‘day_link() . ‘” title=”‘ . $calendar_days[$day_id]->get_titles() . ‘”‘;

    if($calendar_days[$day_id]->is_event)
    echo ‘ class=”eventday”‘;
    echo “>$date->day_num“;
    echo $calendar_days[$day_id]->get_titles() ;
    }
    else
    {
    echo ‘>’ . $date->day_num;
    }

    echo ‘</td>’;

    2) To change the seperator for multiple posts in one day, use

    function get_titles()
    {
    //return implode(‘, ‘,$this->titles);
    return implode(‘<br>***<br>’,$this->titles);
    }

    3) Don’t forget http://ww.wp.xz.cn/support/topic/15109. Thanks Bradley for the link, it helped me a lot. I couldn’t figure out why my future events weren’t showing up.

    4) Also, instead of making putting individual index-12.php pages, the new WP uses category-12.php (where 12 is the category id) pages inside your theme folder. This drove me nuts for hours. I hope it helps someone else.

    Thanks again!

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