• Resolved lorddev

    (@lorddev)


    First off, I love, love, love this plugin. I’m very surprised you don’t have more downloads. Very effective, super light weight, and is perfect for what I need.

    I’m trying to import about 200 events (simple event name / start date) – and they import just fine. The custom post types are created.

    However, the calendar’s rendered by shortcodes do not display event dates UNLESS I go and update each post manually…

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author ishitaka

    (@ishitaka)

    Hi @lorddev

    Thank you for using.

    If you use the standard export and import (WordPress Importer plugin), you will see each post without having to manually update it.
    What method did you use to export and import?

    Thread Starter lorddev

    (@lorddev)

    I’m trying to make it easy for a client to update all of their arrival dates for tours they offer, editing xml would beyond frustrate them.

    Besides – wouldn’t any post that existed just be skipped by WordPress stadard import?

    I used simple csv/xml export plugin – which did a pretty good of showing me keys and a quick comparison in the database confirmed they’re correct.

    I used Ultimate importer pro (for custom fields) to import. And it does create new events and updates the meta – but the meta data doesn’t display on the calendars…

    So I’m assuming there must be additional hidden fields/data, or something different when gets submitted when clicking the update post button when editing in a post.

    Does that make sense?

    I mean, I have no issue doing the initial import via xml – but my client will definitely want to update the dates via a csv file.

    Thank you for the quick responnse!

    Plugin Author ishitaka

    (@ishitaka)

    Is the event_end_date custom field empty?
    event_end_date cannot be omitted. If the same day as event_start_date, enter the same date in event_end_date.

    Thread Starter lorddev

    (@lorddev)

    No, I’ve kept the same date in both fields. I’m supplying the values for the following keys:

    post_author | post_title | post_type | post_status | event_all_day | event_start_date | event_end_date | short_title | xo_event_cat

    The import creates the custom posts and shows the custom fields populated with the correct data.

    The issue – I have a category specific shortcode calendar on each “tour” page. These calendars do not display the associated events unless I go into each imported event and manually click the update post button.

    Plugin Author ishitaka

    (@ishitaka)

    Sorry, I also needed the following custom fields.

    event_start_hour
    event_start_minute

    If the value is empty, enter “NULL”.

    Thread Starter lorddev

    (@lorddev)

    @ishitaka

    Adding the “NULL” did the trick thanks! Also – csv re-formatting date to MM/DD/YYYY was an issue – so just saving csv with date formatted as YYYY-DD-MM and leaving csv open as I import works just fine.

    Probably will write a function to just re-format date after import and re-save meta.

    Thanks for all the help!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Importing Events Does Not Display On Calendars’ is closed to new replies.