Wordpress plugin that generates an unbranded list of facebook events to display via widget or shortcode. Includes options page and instructions. To customize appearance of individual event entries further, copy and modify fbel-template.php to the active theme directory. Uses WebDevStudios/CMB2, CMB2-Snippet-Library/options-and-settings-pages/, & mustardBees/cmb-field-select2
The reason I started this is because I haven't found a good (free) wp plugin solution that is both unbranded and flexible enough to use across a variety of projects without a lot of hackery. I've also had lots of issues with plugin breaks & incorrect timezone display after updates.
Next Steps:
- Fix Date Sorting so that events occur in calendar order.
- Fix locations display to handle incomplete data.
- Add auto-update.
- Settle on a more practical & descriptive name.
- Work on more practical time zone picker.
- Re-organize and rename functions consistently.
- Build in display options
- Include instructions and diagram of CSS selectors & organization of divs, etc.
- Possibly integrate with some sort of js calendar plugin, like FullCalendar
- Eliminate unnecessary procedural aspects
To give credit where it's due, here are some of the many sources I consulted before cribbing this together:
- https://www.codeofaninja.com/2011/07/display-facebook-events-to-your-website.html
- https://github.com/WebDevStudios/CMB2
- https://github.com/mustardBees/cmb-field-select2
- https://github.com/WebDevStudios/CMB2-Snippet-Library
- https://getcomposer.org/
- https://developers.facebook.com/docs/graph-api
- https://www.sammyk.me/optimizing-request-queries-to-the-facebook-graph-api
- http://code.tutsplus.com/tutorials/distributing-your-plugins-in-github-with-automatic-updates--wp-34817