The Events Calendar
Where is The Event Calendar Data stored? (6 posts)

  1. snomo
    Posted 3 years ago #

    Where is The Event Calendar Data stored?

    Does it create new tables in the WP database or use existing WP tables?

    What is the name/location of these tables?

    Can you change the name/location of the tables the events data is stored? If so, how do you do this?


  2. Shane Pearlman
    Modern Tribe
    Plugin Author

    Posted 3 years ago #

    Hi snomo.

    The events in 2.0 are stored as custom post types. Which means they are stored in the posts, posts meta and taxonomies table. You can't really change that as it is default WordPress behavior (nor would you want really).

    Why do you ask?

  3. snomo
    Posted 3 years ago #

    Hmm. So I have 2.0 installed and am still pretty new to WP, figuring out as I go. I take it custom post types do not show up in the regular posts? I'd like to have the same functionality/features that some other plug ins add to regular posts, access the same categories, nav menus etc that the regular posts offer but using the Events Calendar as the posting mechanism.

    I was asking the question of table name/location so that I can access the back end database tables of data I store using The Events Calendar. This would allow us to created back end reports, analysis and such from the Events data from The Events Calendar posts table outside of the word press environment for managing posts, doing a bulk import into the right format etc. Any ideas?

  4. snomo
    Posted 3 years ago #

    Can you direct me to the location of the custom post data table?

  5. Shane Pearlman
    Modern Tribe
    Plugin Author

    Posted 3 years ago #


    wp_posts, wp_postsmeta and wp_terms_taxonomy tables mixed in with every post type that wordpress has. You might want to do some quick reading on how WordPress architectures their data. Posts, Pages, Attachments & Custom Post Types all live in the same tables.

    Justin Tadlock has some really nice articles in his archive that should help you. Start with this one http://justintadlock.com/archives/2010/04/29/custom-post-types-in-wordpress.

  6. bwp
    Posted 3 years ago #

    snomo, for what it's worth, the versions immediately prior to this 2.0 upgrade did treat events as regular posts and not custom posts, making it a bit easier to do "posts" things with them. Shane's already looked into getting us some of that back functionality (e.g., including custom posts in the main loop).

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • The Events Calendar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic