Pippins Plugins
  • Email
  • Facebook
  • Feedburner
  • Github
  • Google
  • Twitter
  • Vimeo
  • Youtube
  • Rss
  • About
  • News
  • Join the Site
    • Member Benefits
    • Member Plugins
    • Email Notifications
  • Plugin Store
    • Affiliate Area
    • Checkout
  • Plugins
    • Plugin Portfolio
      • Plugin Portfolio – List View
    • Free
    • Premium
    • Member Plugins
    • Coding Standards
    • Get Plugin Support
  • Tutorials
    • Series
      • Plugin Development 101
      • Creating a User Follow System Plugin
      • Customizing Restrict Content Pro
      • Displaying Content with Easy Content Types
      • Writing Your First WordPress Plugins, Basic to Advanced
      • Working with Widgets
      • User Submitted Image Galleries
      • Plugin Thoughts
      • Integrating Stripe.com with WordPress
      • WordPress Rewrite API
    • Member Exclusive
      • Free Members
      • Subscriber Only
    • Difficulty
      • Beginner
      • Intermediate
      • Advanced
    • Action and Filter Hooks
    • Ajax
    • Custom Post Types
    • External APIs
    • Short Codes
    • Taxonomies
    • Video Tutorials
    • Widget Tutorials
    • WordPress Admin / Dashboard
    • Working with jQuery
    • WordPress Database
    • Writing Plugins
    • Tag Index
  • Reviews
  • Support Forum
  • Contact
    • Support the Site
    • Request Code Review
    • Plugin Support

Creating a Simple Events System with Easy Content Types

Posted on January 27, 2012 by Pippin in Custom Post Types, Intermediate, Member Restricted, Subscriber Only, Tutorials, Video Tutorials 14 Comments
Home» Tutorials » Custom Post Types » Creating a Simple Events System with Easy Content Types
Tweet
Love It - 4

Event calendars are pretty complex and difficult systems to build. There are lots of plugins that provide a range of functionality, everything from really, really simple events management, to full blow event calendar layouts, ticket purchased and more. A lot of people, however, are very unsatisfied with the available options, either because they are too complex or don't fit in with the site's design. So I'm going to show you how to create a simple events system that can fit in perfectly with your site, no matter what theme you use.

You must be logged in and have an active premium membership to view the rest of this content. Register or login from the sidebar.


Related Items
  • Easy Content Types
Tweet Follow @pippinsplugins
easy content types, events, get_posts, meta_query

14 comments on “Creating a Simple Events System with Easy Content Types”

  1. crgwilson says:
    January 27, 2012 at 3:55 pm

    Thanks for the tutorial, very timely for a project I’m working on.

    Would it be possible to show the excerpt and a thumbnail with the event name and time?

    If so could you demonstrate that?

    Thanks

    Reply
    • Pippin says:
      January 27, 2012 at 4:34 pm

      You can absolutely show the excerpt and thumbnail for the events.

      For the thumbnail, you would use something like this:

      echo get_the_post_thumbnail($event->ID, 'thumbnail-size');

      For the excerpt you can use:

      echo wpautop($event->post_excerpt);

  2. paul says:
    January 27, 2012 at 7:25 pm

    how do you decide when to use get_posts vs WP_Query?
    why do you use a page template vs a custom post type archive?

    Reply
    • Pippin says:
      January 30, 2012 at 8:38 am

      For situations like this I prefer to use get_posts() because I find it simpler, but either will work fine. There’s a great article on choosing the loop method on Dig WP: http://digwp.com/2011/05/loops/

      You could use the post type archive here as well, and perhaps that would be better. For a full-blown events system, the archive would definitely be better, but for something simple like this, it doesn’t make a lot of difference.

  3. sasank says:
    January 28, 2012 at 12:11 am

    Thanks for the tutorial… Can you tell how can we add the events in a calendar on a calendar.
    I mean calender on frontend showing events according to date.

    Reply
    • Pippin says:
      January 30, 2012 at 8:39 am

      Sorry but that is far beyond the scope of this tutorial.

  4. corsonr says:
    January 28, 2012 at 4:22 am

    Thanks for the tutorial, it’s very nice!
    i was about to ask the same question as Paul!

    Reply
    • Pippin says:
      January 30, 2012 at 8:40 am

      See my response to Paul.

    • Carlitoescobar says:
      January 31, 2012 at 1:13 pm

      To be honest that is more of css and layout question than a php /wordpress question. There are loads of tutorials about layout in calendar form using css and js. Then all you would need to do is figure out your repeating floats and work on your event styles.

    • Pippin says:
      January 31, 2012 at 1:41 pm

      That is more or less true. There would still be quite a bit of PHP involved to actually generate the calendar days / weeks / months correctly.

  5. ndira says:
    February 7, 2012 at 1:23 pm

    Hey Pippin ! I’m so stoked that you put this tutorial together, thank you! It’s allowed me to create the events system that I was after.

    If you have the time, it would be great to learn how to separate events into categories (IE – live & webinars, etc.) Maybe a second tutorial ?

    Cheers man!

    Loren – http://NewDirectionIRA.com

    Reply
    • Pippin says:
      February 7, 2012 at 1:45 pm

      I’ll plan to do another tutorial that will include category support :)

  6. jmichiels says:
    June 24, 2012 at 1:18 pm

    Do you have another tutorial that shows how to add sort and filter elements? For example, filter events based on location or only in January or change from ASC to DESC date.

    Reply
    • Pippin says:
      June 24, 2012 at 4:34 pm

      I don’t, not at this time. I am planning on doing a tutorial some time this next week about filtering by meta data, so that should help you out.

Leave a Reply Cancel reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

  • Login

Lost your password?

Please enter your username or e-mail address. You will receive a new password via e-mail.

  • Facebook Become a Fan Like

  • Twitter Subscribe on Twitter Follow

  • YouTube Follow my Videos Subscribe

  • RSS Feed Subscribe with RSS Subscribe

Easy Digital Downloads

Most Loved

  • Love It Pro for WordPress
  • Write a “Love It” Plugin with Ajax to Let Users Love Their Favorite Posts / Pages
  • Simple Notices Pro Plugin for WordPress
  • User Bookmarks for WordPress
  • Front End Registration and Login Forms Plugin

Similar Plugins and Posts

  • Sugar Event Calendar
  • Jobs Posting with Easy Content Types and Gravity Forms
  • Making a Simple Rating Field Type in Easy Content Types
  • Adding a Simple Image Gallery with the Repeatable Upload Field
  • Repeatable Upload Fields for Easy Content Types

Latest Premium Content

  • Plugin Development 101 – Introduction to Adding Dashboard Menus
  • Plugin Development 101 – Intro to Loading Scripts and Styles
  • User Follow System – Part 5
  • Plugin Development 101 – Intro to Short Codes
  • Plugin Development 101 – Registering a Custom Post Type
  • Plugin Development 101 – Intro to Actions

Latest Tutorials

  • Test Your Plugins with RTL (0)

    Right-To-Left languages are those that...

  • Submitting Your First Pull Request to a WordPress Plugin on Github (5)

    Github is an extremely popular tool for managing WordPress plugins, and one...

  • Plugin Development 101 – Introduction to Adding Dashboard Menus (1)

    Adding new menus, both top level and sub level, to the WordPress Dashboard is a really common task for plugins...

Enter your email to receive automated updates when new posts are published

Latest Tweets

  • RT @toscho: #WordPress: How post meta fields work. http://t.co/uDRaDu0EsS
    May 25, 2013
  • RT @strickland: Afternoon crowd: To celebrate Memorial Day weekend @gittyapp is on sale through Monday. Now is the time to join in! http:/…
    May 25, 2013
  • .@itsananderson wins!
    May 25, 2013

Topics

Sugar Event Calendar attachments add_shortcode wp_enqueue_script the_content hook meta box Rémi Corson featured shortcodes campaign monitor add_options_page register_setting do_action authors mail chimp attachment plugin image forms short codes Related posts login bbpress apply_filters recent posts comments post types taxonomies short code custom post type images gallery Ajax Stripe jquery taxonomy users widgets add_filter add_action easy content types widget restrict content pro easy digital downloads

Weekly Newsletter

Useful Links

  • Join the Site
  • Plugin Store
  • Affiliate Area
  • Tag Index
  • Support the Site
  • Suggest a Tutorial
  • Random Post
  • Contact

Monthly Archives

(c) 2013 Pippin's Plugins