WordPress.org

Support

Support » How-To and Troubleshooting » [Plugin: Events Calendar] events aren’t being published in the widget

[Plugin: Events Calendar] events aren’t being published in the widget

  • Okay – so my event calendar sidebar widget is not showing events when I add them to the calendar. Previously one has shown up – now new one will create a post to the blog but will not show up in the sidebar. Any ideas?

Viewing 10 replies - 1 through 10 (of 10 total)
  • I’m having the same problem. I think it’s with the code. The events are not being published..they are being “scheduled” to publish. I’ll post if I can figure out how to fix this.

    Alright, you need to go into the file “ec_management.class.php” and add this code: “

    $statusPost = $_POST[‘EC_statusPost’];

    after line 54 that reads “ if(isset($_POST[‘EC_doPost’])) {.”

    Then you need to comment out “, ‘post_date’ => date(‘Y-m-d H:i:s’)” by putting “//” at the beginning of the line (should be line 59 or 60), and add in ” , ‘post_date’ => current_time(‘mysql’).”

    Hope that helps!

    still not working for me. I guess we’ll sit tight and wait for a update. Thanks though!

    same thing is happening to me, why would you say this is..is it because it has not been tested in wp versions higher than 2.6?

    Looks like this widget is broken in 2.8 with the new Widget API. I was able to work around this by using the PHP Code Widget in my sidebar and then calling the function directly to get a list of events:

    <?php if (function_exists(SidebarEventsList))  {
    SidebarEventsList(5);
    }
    ?>

    5 is the number of events I wanted to show in the list.

    it works in 2.7.1 not sure about 2.8

    Thanks, chrishajer. Used the PHP Code Widget in the sidebar and added this code to get the Calendar to display as normal.

    <?php if (function_exists(SidebarEventsCalendar))  {
    SidebarEventsCalendar();
    }
    ?>

    Great!!! it works!!

    thanks Chrishajer! Exactly what I needed.

    I had this same issue…Used Chris’s fix…But I want to disable the stupid rollover thing because it’s all wonky…How would one do this?

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Plugin: Events Calendar] events aren’t being published in the widget’ is closed to new replies.