Skip to content

Commit

Permalink
fix: add fields list to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
basscl committed Mar 20, 2024
1 parent 3b2f35f commit 59c29e9
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit 59c29e9

Please sign in to comment.