Home › Forums › General Issues › Get Field from Custom Post Typ › Reply To: Get Field from Custom Post Typ
Here the ACF field group
[
{
"key": "group_6188d209a6110",
"title": "Events CPT Fields",
"fields": [
{
"key": "field_6188d22182ad0",
"label": "Event Date",
"name": "event_date",
"type": "date_picker",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"display_format": "F j, Y",
"return_format": "F j, Y",
"first_day": 1
},
{
"key": "field_6188d25582ad1",
"label": "Date and Time",
"name": "date_and_time",
"type": "date_time_picker",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"display_format": "F j, Y \\@ g:i a",
"return_format": "F j, Y \\@ g:i a",
"first_day": 1
},
{
"key": "field_6188d27582ad2",
"label": "Event Location",
"name": "event_location",
"type": "text",
"instructions": "Add the event location here",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
}
],
"location": [
[
{
"param": "post_type",
"operator": "==",
"value": "event"
}
]
],
"menu_order": 0,
"position": "normal",
"style": "default",
"label_placement": "top",
"instruction_placement": "label",
"hide_on_screen": "",
"active": true,
"description": ""
}
]
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.