Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xenocide122/wp-google-sheets
Add info from a google sheet
https://github.com/xenocide122/wp-google-sheets
google google-sheets php sheets-api snippet wordpress
Last synced: 2 days ago
JSON representation
Add info from a google sheet
- Host: GitHub
- URL: https://github.com/xenocide122/wp-google-sheets
- Owner: Xenocide122
- Created: 2024-11-04T15:40:51.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-11-04T18:14:35.000Z (3 months ago)
- Last Synced: 2024-11-19T07:15:16.484Z (2 months ago)
- Topics: google, google-sheets, php, sheets-api, snippet, wordpress
- Language: PHP
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WP Google Sheets
Add info from a google sheet and add it to a Themeco looper. My data has: Date, 1st Place Name, 2nd Place Name, 3rd Place Name, 4th Place Name**Note:**
I created recurring events in the MEC plugin and this code uses that to Fetch events that are today or have repeating date equal to today or in the future
I am using the Hook Name: `minecraftevents` so make sure to search for `cs_looper_custom_minecraftevents` and update `minecraftevents` to whatever you want and use that for your hook name
Make sure to update the timezone if you are not using EST
You will have to update the JSON file with the correct email and keys
[Using OAuth 2.0 for Web Server Applications](https://github.com/googleapis/google-api-php-client/blob/main/docs/oauth-web.md#using-oauth-20-for-web-server-applications)