{"id":183,"date":"2023-04-12T19:35:08","date_gmt":"2023-04-12T19:35:08","guid":{"rendered":"https:\/\/docs.joedolson.com\/my-calendar-pro\/?p=183"},"modified":"2023-05-03T10:31:17","modified_gmt":"2023-05-03T10:31:17","slug":"settings-custom-fields","status":"publish","type":"post","link":"https:\/\/docs.joedolson.com\/my-calendar-pro\/settings-custom-fields\/","title":{"rendered":"Settings &#8211; Custom Fields"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Custom Fields Settings is located under <em>My Calendar &gt; My Calendar Pro &gt; Custom Fields.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">My Calendar supports custom fields to collect event information that isn\u2019t natively supported by My Calendar. Since My Calendar Pro 3.0.0, you can create your custom fields directly in the admin.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Custom field types supported include&nbsp;<code>text<\/code>,&nbsp;<code>email<\/code>,&nbsp;<code>number<\/code>,&nbsp;<code>date<\/code>,&nbsp;<code>time<\/code>,&nbsp;<code>url<\/code>,&nbsp;<code>tel<\/code>,&nbsp;<code>select<\/code>,&nbsp;<code>checkbox<\/code>,&nbsp;<code>radio<\/code>,&nbsp;<code>textarea<\/code>, and&nbsp;<code>hidden<\/code>&nbsp;fields.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"849\" height=\"830\" src=\"http:\/\/docs.joedolson.com\/my-calendar-pro\/wp-content\/uploads\/sites\/4\/2023\/03\/My-Calendar-Pro-Settings-Custom-Fields.jpg\" alt=\"My Calendar Pro Settings Custom Fields\" class=\"wp-image-244\" srcset=\"https:\/\/docs.joedolson.com\/my-calendar-pro\/wp-content\/uploads\/sites\/4\/2023\/03\/My-Calendar-Pro-Settings-Custom-Fields.jpg 849w, https:\/\/docs.joedolson.com\/my-calendar-pro\/wp-content\/uploads\/sites\/4\/2023\/03\/My-Calendar-Pro-Settings-Custom-Fields-300x293.jpg 300w, https:\/\/docs.joedolson.com\/my-calendar-pro\/wp-content\/uploads\/sites\/4\/2023\/03\/My-Calendar-Pro-Settings-Custom-Fields-768x751.jpg 768w\" sizes=\"auto, (max-width: 849px) 100vw, 849px\" \/><figcaption class=\"wp-element-caption\">My Calendar Pro Settings &#8211; Custom Fields<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Custom fields can also be defined in&nbsp;<a href=\"https:\/\/github.com\/joedolson\/plugin-extensions\/blob\/master\/my-calendar\/my-calendar-custom-fields.php\" target=\"_blank\" rel=\"noreferrer noopener\">PHP for more advanced configuration<\/a>&nbsp;or defined in a JSON file called&nbsp;<code>mc-custom-fields.json<\/code>, stored in your&nbsp;<code>plugins\/my-calendar-custom<\/code>&nbsp;directory or in your theme directory. An example JSON definition file is in the plugin\u2019s root folder.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">All custom fields will be listed in the custom field editor, though PHP and JSON fields can\u2019t be modified in the editor.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here is an example where two custom fields have been added. Event sub title and Telephone.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"900\" height=\"1298\" src=\"https:\/\/docs.joedolson.com\/my-calendar-pro\/wp-content\/uploads\/sites\/4\/2023\/04\/My-Calendar-Pro-Settings-Custom-Fields-with-two-custom-fields.jpg\" alt=\"My Calendar Pro Settings Custom Fields with two custom fields\" class=\"wp-image-346\" srcset=\"https:\/\/docs.joedolson.com\/my-calendar-pro\/wp-content\/uploads\/sites\/4\/2023\/04\/My-Calendar-Pro-Settings-Custom-Fields-with-two-custom-fields.jpg 900w, https:\/\/docs.joedolson.com\/my-calendar-pro\/wp-content\/uploads\/sites\/4\/2023\/04\/My-Calendar-Pro-Settings-Custom-Fields-with-two-custom-fields-208x300.jpg 208w, https:\/\/docs.joedolson.com\/my-calendar-pro\/wp-content\/uploads\/sites\/4\/2023\/04\/My-Calendar-Pro-Settings-Custom-Fields-with-two-custom-fields-710x1024.jpg 710w, https:\/\/docs.joedolson.com\/my-calendar-pro\/wp-content\/uploads\/sites\/4\/2023\/04\/My-Calendar-Pro-Settings-Custom-Fields-with-two-custom-fields-768x1108.jpg 768w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><figcaption class=\"wp-element-caption\">My Calendar Pro Settings &gt; Custom Fields with two custom fields.<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Custom Fields Settings is located under My Calendar &gt; My Calendar Pro &gt; Custom Fields. My Calendar supports custom fields to collect event information that isn\u2019t natively supported by My Calendar. Since My Calendar Pro 3.0.0, you can create your custom fields directly in the admin. Custom field types supported include&nbsp;text,&nbsp;email,&nbsp;number,&nbsp;date,&nbsp;time,&nbsp;url,&nbsp;tel,&nbsp;select,&nbsp;checkbox,&nbsp;radio,&nbsp;textarea, and&nbsp;hidden&nbsp;fields. Custom fields can [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,17],"tags":[],"class_list":["post-183","post","type-post","status-publish","format-standard","hentry","category-admin","category-settings"],"_links":{"self":[{"href":"https:\/\/docs.joedolson.com\/my-calendar-pro\/wp-json\/wp\/v2\/posts\/183","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.joedolson.com\/my-calendar-pro\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.joedolson.com\/my-calendar-pro\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.joedolson.com\/my-calendar-pro\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.joedolson.com\/my-calendar-pro\/wp-json\/wp\/v2\/comments?post=183"}],"version-history":[{"count":10,"href":"https:\/\/docs.joedolson.com\/my-calendar-pro\/wp-json\/wp\/v2\/posts\/183\/revisions"}],"predecessor-version":[{"id":184,"href":"https:\/\/docs.joedolson.com\/my-calendar-pro\/wp-json\/wp\/v2\/posts\/183\/revisions\/184"}],"wp:attachment":[{"href":"https:\/\/docs.joedolson.com\/my-calendar-pro\/wp-json\/wp\/v2\/media?parent=183"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.joedolson.com\/my-calendar-pro\/wp-json\/wp\/v2\/categories?post=183"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.joedolson.com\/my-calendar-pro\/wp-json\/wp\/v2\/tags?post=183"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}