Created
June 12, 2020 20:21
-
-
Save isaac-gros/3607a3ab02305024e7254c7f90ad8a61 to your computer and use it in GitHub Desktop.
General configuration for ACF Console in PHP.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Configure the destination of fields type. | |
# NOTE : You must at least create the directories where the files will be stored. | |
fields: | |
groups: | |
# example_group : | |
# name: 'Example group' | |
# path: './public/example.php' | |
basic: | |
path: './public/basic-fields.php' | |
# Define here your custom post types, menu names or taxonomies. | |
locations: | |
Post: | |
post_type: | |
# my_custom_post_type : Custom post type | |
post: 'Post' | |
page: 'Page' | |
post_template: | |
default: 'Default Template' | |
post_status: | |
publish: 'Published' | |
future: 'Scheduled' | |
draft: 'Draft' | |
pending: 'Pending' | |
private: 'Private' | |
trash: 'Trash' | |
auto-draft: 'auto-draft' | |
inherit: 'inherit' | |
request-pending: 'Pending' | |
request-confirmed: 'Confirmed' | |
request-failed: 'Failed' | |
request-completed: 'Completed' | |
acf-disabled: 'Inactive' | |
post_format: | |
standard: 'Standard' | |
aside: 'Aside' | |
chat: 'Chat' | |
gallery: 'Gallery' | |
link: 'Link' | |
image: 'Image' | |
quote: 'Quote' | |
status: 'Status' | |
video: 'Video' | |
audio: 'Audio' | |
post_category: | |
'category:uncategorized': 'Uncategorized' | |
post_taxonomy: | |
'category:uncategorized': 'Uncategorized' | |
post: | |
# post_id : post_title | |
1: 'Hello world !' | |
Page: | |
page_template: | |
default: 'Default Page' | |
page_type: | |
front_page: 'Homepage' | |
page_parent: | |
# post_id : post_title | |
2: 'Example page' | |
page: | |
# post_id : post_title | |
2: 'Example page' | |
User: | |
current_user: | |
logged_in: 'Logged in' | |
viewing_front: 'Viewing front end' | |
viewing_back: 'Viewing back end' | |
current_user_role: | |
administrator: 'Administrator' | |
editor: 'Editor' | |
author: 'Author' | |
contributor: 'Contributor' | |
subscriber: 'Subscriber' | |
user_form: | |
all: 'All' | |
add: 'Add' | |
edit: 'Add / Register' | |
register: 'Register' | |
user_role: | |
administrator: 'Administrator' | |
editor: 'Editor' | |
author: 'Author' | |
contributor: 'Contributor' | |
subscriber: 'Subscriber' | |
Forms: | |
taxonomy: | |
all: 'All' | |
category: 'Category' | |
post_tag: 'Tag' | |
post_format: 'Format' | |
attachment: | |
image: 'All image formats' | |
image/jpeg: 'jpg|jpeg|jpe (image/jpeg)' | |
image/gif: 'gif (image/gif)' | |
image/png: 'png (image/png)' | |
image/tiff: 'tiff|tif (image/tiff)' | |
image/bmp: 'bmp (image/bmp)' | |
image/x-icin: 'ico (image/x-icon)' | |
video: 'All video formats' | |
video/x-ms-asf: 'asf|asx (video/x-ms-asf)' | |
video/x-ms-wmv: 'wmv (video/x-ms-wmv)' | |
video/x-ms-wmx: 'wmx (video/x-ms-wmx)' | |
video/x-ms-wm: 'wm (video/x-ms-wm)' | |
video/avi: 'avi (video/avi)' | |
video/divx: 'divx (video/divx)' | |
video/x-flv: 'flv (video/x-flv)' | |
video/quicktime: 'mov|qt (video/quicktime)' | |
video/mpeg: 'mpeg|mpg|mpe (video/mpeg)' | |
video/mp4: 'mp4|m4v (video/mp4)' | |
video/ogg: 'ogv (video/ogg)' | |
video/webm: 'webm (video/webm)' | |
video/x-matroska: 'mkv (video/x-matroska)' | |
video/3gpp: '3gp|3gpp (video/3gpp)' | |
video/3gpp2: '3g2|3gp2 (video/3gpp2)' | |
text: 'All text formats' | |
text/plain: 'txt|asc|c|cc|h|srt (text/plain)' | |
text/csv: 'csv (text/csv)' | |
text/tab-separated-values: 'tsv (text/tab-separated-values)' | |
text/calendar: 'ics (text/calendar)' | |
text/richtext: 'rtx (text/richtext)' | |
text/css: 'css (text/css)' | |
text/html: 'htm|html (text/html)' | |
text/vtt: 'vtt (text/vtt)' | |
application: 'All application formats' | |
application/ttaf+xml: 'dfxp (application/ttaf+xml)' | |
application/rtf: 'rtf (application/rtf)' | |
application/javascript: 'js (application/javascript)' | |
application/pdf: 'pdf (application/pdf)' | |
application/java: 'class (application/java)' | |
application/x-tar: 'tar (application/x-tar)' | |
application/zip: 'zip (application/zip)' | |
application/x-gzip: 'gz|gzip (application/x-gzip)' | |
application/rar: 'rar (application/rar)' | |
application/x-7z-compressed: '7z (application/x-7z-compressed)' | |
application/octet-stream: 'xcf (application/octet-stream)' | |
application/msword: 'doc (application/msword)' | |
application/vnd.ms-powerpoint: 'pot|pps|ppt (application/vnd.ms-powerpoint)' | |
application/vnd.ms-write: 'wri (application/vnd.ms-write)' | |
application/vnd.ms-excel: 'xla|xls|xlt|xlw (application/vnd.ms-excel)' | |
application/vnd.ms-access: 'mdb (application/vnd.ms-access)' | |
application/vnd.ms-project: 'mpp (application/vnd.ms-project)' | |
application/vnd.openxmlformats-officedocument.wordprocessingml.document: 'docx (application/vnd.openxmlformats-officedocument.wordprocessingml.document)' | |
application/vnd.ms-word.document.macroEnabled.12: 'docm (application/vnd.ms-word.document.macroEnabled.12)' | |
application/vnd.openxmlformats-officedocument.wordprocessingml.template: 'dotx (application/vnd.openxmlformats-officedocument.wordprocessingml.template)' | |
application/vnd.ms-word.template.macroEnabled.12: 'dotm (application/vnd.ms-word.template.macroEnabled.12)' | |
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet: 'xlsx (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)' | |
application/vnd.ms-excel.sheet.macroEnabled.12: 'xlsm (application/vnd.ms-excel.sheet.macroEnabled.12)' | |
application/vnd.ms-excel.sheet.binary.macroEnabled.12: 'xlsb (application/vnd.ms-excel.sheet.binary.macroEnabled.12)' | |
application/vnd.openxmlformats-officedocument.spreadsheetml.template: 'xltx (application/vnd.openxmlformats-officedocument.spreadsheetml.template)' | |
application/vnd.ms-excel.template.macroEnabled.12: 'xltm (application/vnd.ms-excel.template.macroEnabled.12)' | |
application/vnd.ms-excel.addin.macroEnabled.12: 'xlam (application/vnd.ms-excel.addin.macroEnabled.12)' | |
application/vnd.openxmlformats-officedocument.presentationml.presentation: 'pptx (application/vnd.openxmlformats-officedocument.presentationml.presentation)' | |
application/vnd.ms-powerpoint.presentation.macroEnabled.12: 'pptm (application/vnd.ms-powerpoint.presentation.macroEnabled.12)' | |
application/vnd.openxmlformats-officedocument.presentationml.slideshow: 'ppsx (application/vnd.openxmlformats-officedocument.presentationml.slideshow)' | |
application/vnd.ms-powerpoint.slideshow.macroEnabled.12: 'ppsm (application/vnd.ms-powerpoint.slideshow.macroEnabled.12)' | |
application/vnd.openxmlformats-officedocument.presentationml.template: 'potx (application/vnd.openxmlformats-officedocument.presentationml.template)' | |
application/vnd.ms-powerpoint.template.macroEnabled.12: 'potm (application/vnd.ms-powerpoint.template.macroEnabled.12)' | |
application/vnd.ms-powerpoint.addin.macroEnabled.12: 'ppam (application/vnd.ms-powerpoint.addin.macroEnabled.12)' | |
application/vnd.openxmlformats-officedocument.presentationml.slide: 'sldx (application/vnd.openxmlformats-officedocument.presentationml.slide)' | |
application/vnd.ms-powerpoint.slide.macroEnabled.12: 'sldm (application/vnd.ms-powerpoint.slide.macroEnabled.12)' | |
application/onenote: 'onetoc|onetoc2|onetmp|onepkg (application/onenote)' | |
application/oxps: 'oxps (application/oxps)' | |
application/vnd.ms-xpsdocument: 'xps (application/vnd.ms-xpsdocument)' | |
application/vnd.oasis.opendocument.text: 'odt (application/vnd.oasis.opendocument.text)' | |
application/vnd.oasis.opendocument.presentation: 'odp (application/vnd.oasis.opendocument.presentation)' | |
application/vnd.oasis.opendocument.spreadsheet: 'ods (application/vnd.oasis.opendocument.spreadsheet)' | |
application/vnd.oasis.opendocument.graphics: 'odg (application/vnd.oasis.opendocument.graphics)' | |
application/vnd.oasis.opendocument.chart: 'odc (application/vnd.oasis.opendocument.chart)' | |
application/vnd.oasis.opendocument.database: 'odb (application/vnd.oasis.opendocument.database)' | |
application/vnd.oasis.opendocument.formula: 'odf (application/vnd.oasis.opendocument.formula)' | |
application/wordperfect: 'wp|wpd (application/wordperfect)' | |
application/vnd.apple.keynote: 'key (application/vnd.apple.keynote)' | |
application/vnd.apple.numbers: 'numbers (application/vnd.apple.numbers)' | |
application/vnd.apple.pages: 'pages (application/vnd.apple.pages)' | |
audio: 'All audio formats' | |
audio/mpeg: 'mp3|m4a|m4b (audio/mpeg)' | |
audio/aac: 'aac (audio/aac)' | |
audio/x-realaudio: 'ra|ram (audio/x-realaudio)' | |
audio/wav: 'wav (audio/wav)' | |
audio/ogg: 'ogg|oga (audio/ogg)' | |
audio/flac: 'flac (audio/flac)' | |
audio/midi: 'mid|midi (audio/midi)' | |
audio/x-ms-wma: 'wma (audio/x-ms-wma)' | |
audio/x-ms-wax: 'wax (audio/x-ms-wax)' | |
audio/x-matroska: 'mka (audio/x-matroska)' | |
comment: | |
all: 'All' | |
post: 'Post' | |
page: 'Page' | |
attachment: 'Media' | |
widget: | |
all: 'All' | |
pages: 'Pages' | |
calendar: 'Calendar' | |
archives: 'Archives' | |
media_audio: 'Audio' | |
media_image: 'Image' | |
media_gallery: 'Gallery' | |
media_video: 'Video' | |
meta: 'Meta' | |
search: 'Search' | |
text: 'Text' | |
categories: 'Categories' | |
recent-posts: 'Recent Posts' | |
recent-comments: 'Recent Comments' | |
rss: 'RSS' | |
tag_cloud: 'Tag Cloud' | |
nav_menu: 'Navigation Menu' | |
custom_html: 'Custom HTML' | |
nav_menu: | |
all: 'All' | |
location/navigation: 'Navigation' | |
nav_menu_item: | |
all: 'All' | |
location/navigation: 'Navigation' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment