Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/xenocide122/upcoming-events-snippet

Function to fetch events and parse mec_fields
https://github.com/xenocide122/upcoming-events-snippet

mec php snippet wordpress

Last synced: 23 days ago
JSON representation

Function to fetch events and parse mec_fields

Awesome Lists containing this project

README

        

# MEC Upcoming Events snippet (WordPress & Modern Events Calendar)
Function to fetch MEC events and parse mec_fields then display in a looper with Themeco Pro Looper.

Creates the `cs_looper_custom_uptournaments` but you use `uptournaments` as the name of the `Looper Provider` Hook.

**NOTE:**
* `parse_mec_fields` Refers to another snippet, make sure it is active
* Make sure to edit the `AND NOT (p.post_title like '%minecraft%' OR p.post_title like 'Smash Summit%')` to remove any unwanted events

Place this code in a snippet or in your Functions.PHP file