Plugin — Advanced Custom Fields (ACF) - martindubenet/Wordpress GitHub Wiki
Download Advanced Custom Fields (ACF)
- Free : https://wordpress.org/plugins/advanced-custom-fields/
- PRO :
- View pricing,
- Buy it,
- Download the latest PRO version and get your licence key from your account.
- Read instructions:
How to use ACF
- Analyse your needs,
- From the Dashboard menu click on the ACF,
- Add or Edit your fields groups,
- Location : Define where those field(s) should appear within the Wordpress webapp (post, page, page template, custom post, taxonomy),
- Settings : Define the layout of this group.
- Navigate to (ACF) Tools from the menu,
- Click the Export the PHP option to register your fields,
- Copy/Paste the PHP lines within your theme’s
functions.php
file.
- Use the proper ACF function to « get the fields » in your custom page template (ex.:
singular-product.php
).
A best practice is to encasulate the
'title'
,'label'
,'instructions'
or whatever values within the translation ready format__('Value string', 'Instruction for translators', 'textDomain')
on the for multilingual fields.