WARNING: PostEvent repository have changed. To get the last version please follow the link: https://wordpress.org/extend/plugins/post-event2/
You often ask how could you create event using wordpress, organize jobs meeting, party or holidays with your friends and contact them easily ? Then “Post Event” is THE events plugin for wordpress you are looking for!
Post Event allows you to define event information (date, location, schedule…) directly in the post administration page. All event information is automatically displayed in the post page (single.php), including Google Maps AND iCal link (integration in your agenda) without any code modification!
It is very usefull (Google Maps and iCal integration), high-performance and can be use for any event. We have based the development on wordpress structure, without any modification of the database (events details are loaded as meta of the posts). The plugin is provided in english and french but can be translated in any languages (.po file included).
What are the modification in the admin panel after plugin activation?
- A new meta box named ‘PostEventSectionId’ is created in the right sidebar when you edit or create a post. This is where you will be able to edit the event
- A new section “Post Event” is available in the option settings
I want to display in my home page the 5 next events of cat “evenementSportif”. Can we do that?!
Of course 🙂 You just need to call “query_events” function, with the same arguments as the standard query_posts:
- <a href="”>
What are the other functions I can call on the front side?
Functions you can call on front-side : query_events: load event from databases and sort them by start date, by desc as default, Sort order could be change in admin panel. get_post_event_ical: return event iCal document parametre: void. get_post_event_start_date: return event start date parametre: void. get_post_event_end_date: return event end date parametre: void. get_post_event_start_time: return event start time parametre: void. get_post_event_end_time: return event end date parametre: void. get_post_event_place: return event place parametre: void. get_post_event_as_object: return event as object: void. the_post_event_html: display event details parametre: void. the_post_event_map: display event map parametre: void.
How can I translate Post Event in my own language?
To create a language file you have to create a document like: PostEvent-lang_LANG.mo wich is compiled version of lang_LANG.po. To create a language file you need gettext and the command line to enter is : msgfmt lang_LANG.po -o PostEvent-lang_LANG.mo
- First public version
- Bug corrected in query_events function (test if empty)
- Bug corrected in query_events function (showposts, several events with the same date.).
- When you edit a post, ics files are generated for each category wich the post is included, and a global ics files is generated too.
- Admin page has new design.
- When you have write the location, a google map is displayed under the input.
- Clean code, no more direct database call.
- You can know allow your visitors to subscribe to events.
- You can choose if visitors can register to events or not.
- You can get an ics file with all registers users for an event.
- If you want have an ical “feed” from a special category, you select the category and you add “ical” after the “/” in the url navebar.
- Ics files are more complete. A link to the posts is added and the category name.
- You can had a link in your pages using functions :the_ical_calendar() and get_ical_calendar() arguments are “nothing” or category name.
- Query are sql inject protected and are in a class file. There are no more direct database call except in the query class file.
- A button delete event has been added under the input in admin posts.
- A column ‘Start Event Date’ has been added in the admin posts list.
- You can now add guests to your event
- Max guests number is defined in admin when you edit the post
- Fixing some bugs in query_events function
- You can now choose to show registers number to visitors
- Fixing bugs.