• Resolved wptesty

    (@wptesty)


    Hey there,

    I’m using the free version of The Events Calendar and I want to import events with my pro-version of WP All Import.
    The imported data are XML, and the import seems to work fine – for every XML dataset there is a new event that contains all required information.
    The problem is that the imported events don’t show up in the frontend of my website, only in the backend overview.
    But: When I open an imported event in the editor and hit “save” (or “update”? I don’t have the english version) WITHOUT CHANGING ANYTHING, suddenly the event shows up as it should. It feels like the events calendar doesn’t “see” the events before that step.

    Has anyone ever had the same problem or has a suggestion how I could solve the problem?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter wptesty

    (@wptesty)

    Update:
    I had a closer look at the WordPress database and I noticed something.
    Whenever I manually create an event, there are two new entries in wp_posts and a few entries in wp_postmeta, which obviously contain event metadata like time, date and so on.
    However, when I auto-create an event with WP All Import, I only get ONE new entry in wp_posts and none in wp_postmeta.
    As soon as I open the auto-created event in the editor and update it (still without changing anything), the second entry in wp_posts and the data in wp_postmeta are finally added and the event’s displayed in the frontend of my website.

    How come this doesn’t happen automatically during the import? And how can I resolve this?

    Thanks in advance for any help!

    • This reply was modified 5 years, 2 months ago by wptesty.

    @wptesty did you ever figure out a workaround for this. I’m hitting this same issue, and initially I thought it was due to the date format when using the WP All Export plugin but reading you statements I’m wondering if what you are actually seeing for the 2 wp_posts entries is an Event and a Venue or Organizer, which are also a post type and not just meta data to the event.

    Thread Starter wptesty

    (@wptesty)

    @tnolte I’m sorry I haven’t replied earlier, I haven’t recognized your post before.
    I could solve my issue and it really had to do with the date format.

    I wrote the support of WP All Import, and that’s what they replied:

    In order for events to be visible on the front-end of the site, the following fields must have data filled in:

    _EventStartDate
    _EventEndDate
    _EventStartDateUTC
    _EventEndDateUTC

    And they need to have the dates & times provided in the format shown here: https://d.pr/i/SYuAjY – as this is what The Events Calendar expects.

    I hadn’t filled in all of the required fields and my date format wasn’t correct. After changing that, it finally worked.

    Maybe this can help you?

    • This reply was modified 4 years, 10 months ago by wptesty.
    • This reply was modified 4 years, 10 months ago by wptesty.

    @wptesty thanks I did eventually determine this same thing and wrote some custom export code to handle this which did end up importing the event data as needed.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WP All Import: Created Events don’t show up’ is closed to new replies.