From 59c29e92abacad97c29134476af482ec5684f5ad Mon Sep 17 00:00:00 2001 From: Eileen Mack Date: Wed, 20 Mar 2024 16:35:54 -0400 Subject: [PATCH] fix: add fields list to readme --- README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/README.md b/README.md index 0319a07..c9ceb21 100644 --- a/README.md +++ b/README.md @@ -80,6 +80,34 @@ Available filters: * `squarecandy_filter_events_fields` - filter the ACF fields array * `squarecandy_filter_events_supports` - filter the array of components the post type supports ( 'title', 'editor', 'author', 'thumbnail' ) +## Fields/Meta Guide + +# post_type = 'event' +featured - bool - Featured Event or no +start_date - stored as ? displayed as F j, Y +all_day - bool +multi_day - bool +start_time - stored as ? displayed as g:i a +end_date +end_time +venue - text +address - text +city - text +state - text +zip - text +country - select +venue_location - google_map - optional if google maps api +zoom_level - range - optional if google maps api +more_info_link - url +tickets_link - url +facebook_link - url +short_description - wysiwyg +category - taxonomy (events-category) save_terms = 1 +archive_date - autogenerated Y-m-d H:i:s +sort_date - autogenerated Y-m-d H:i:s +magic_sort_date - autogenerated Y-m-d H:i:s +featured_works - post_object - optional - if works plugin active + ## [Developer Guide](https://developers.squarecandy.net) For more detailed information about coding standards, development philosophy, how to run linting, how to release a new version, and more, visit the [Square Candy Developer Guide Wiki](/~https://github.com/squarecandy/developer-guidelines/wiki).