Witness Web

970-712-6933

  • Home
  • About Me
  • Blog
  • Services
  • Testimonials
  • Portfolio
  • Contact Me
    • Add to Dropbox

Add an Event to The Events Calendar Using Gravity Forms

August 18, 2015 by Lee Pettijohn 2 Comments

gravity forms to the events calendarThe Events Calendar and Gravity Forms are two plugins for WordPress that are incredibly powerful.  After much searching and coding, I was able to put together several different sections of code.  These are some of the highlights of what’s included that can be automatically created:

  • Name and Description
  • Date of Event
  • Start and End Time
  • Cost
  • Venues (which can be selected in the form and is populated with previously inserted venue entries)
  • Organizers (same as Venues)
  • Event URL
  • Upload an image and automatically use as Featured Image

Still working on getting the Event Categories portion to work.  If you have any suggestions, please let me know.

Here is a page that utilizes the function – http://experiencehermann.com/event-submission

Here is the Gist of code with comments throughout – https://gist.github.com/leepettijohn/0ab7e5a7474f9f77df20

All sources of used code have been cited in the comments and thanks to the many people that have contributed to this.

Filed Under: Web Design Technical Blog Tagged With: event submission, gravity forms, technical, the events calendar

About Lee Pettijohn

Lee is the Web Designer and Developer for Witness Web Design. With skills including HTML, CSS, Javascript, PHP, and Flash, he is committed to delivering the best possible product while providing excellent customer service. With a background in mathematics and business, Lee brings his expertise to the table by taking direction and making clients' visions a reality. “I feel most comfortable when working with code,” Lee says. “It’s a joy to take the ‘painted canvas’ given to me and recreate it in such a way that captures the attention of the user and creates an incredible experience.” Lee brings many skills including database management to the table, and is excited to make his customers' potential dreams...their tangible realities.

Comments

  1. Joseph says

    November 10, 2015 at 9:55 am

    Thank you Lee for the integration. I have a couple of ‘newbie’ questions. Is this code all inclusive…does it include improved snippets from https://tri.be/gravity-forms-events-calendar-submissions/ or do I need to integrate it with that?
    There seems to be a few fixes since 2.0 and the posts on https://tri.be/gravity-forms-events-calendar-submissions/ suggests to use http://tri.be/event-submissions-using-gravity-forms-in-2-0/, which is no longer valid. I rather lost as to which is the definitive tutorial on working with the latest GF and TEC. Thanks for any guidance.

    Joseph

    Reply
    • Lee Pettijohn says

      November 10, 2015 at 9:40 pm

      Hi Joseph,
      The GitHub code should be all inclusive, but I would highly recommend going through each of the comments since there are settings within the code that need to be taken into account. I’m still working on the category selection functionality too if you figure that one out … let me know. 😉

      Cheers.

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Need Help …

  • This field is for validation purposes and should be left unchanged.

Copyright © 2019 · Agency Pro Theme on Genesis Framework · WordPress · Log in