Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/xenocide122/upcoming-events-snippet
- Owner: Xenocide122
- Created: 2024-11-04T11:47:07.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-11-04T12:16:55.000Z (3 months ago)
- Last Synced: 2024-12-30T06:14:11.750Z (23 days ago)
- Topics: mec, php, snippet, wordpress
- Language: PHP
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 eventsPlace this code in a snippet or in your Functions.PHP file