techalica/acf-extended
最新稳定版本:1.0
Composer 安装命令:
composer require techalica/acf-extended
包简介
ACF Extended provides an object oriented API to register fields, groups and layouts with ACF.
README 文档
README
Register advanced custom fields with object oriented PHP.
ACF Extended provides an object oriented API to register fields, groups and layouts with ACF. Oh, and you don't have to worry about unique field keys.
Installation
Require this package, with Composer, in the root directory of your theme.
$ composer require techalica/acf-extended
Download the Advanced Custom Fields Pro plugin and put it in either the plugins or mu-plugins directory. Visit the WordPress dashboard and activate the plugin. Please note that this package supports ACF version 5.6 or later.
Usage
All the fields can be generated through calling their respective 'type' name function with a label as an argument.
fields()->text('Name')
Resources
Below you'll find a list of articles which can help you getting started and advance your custom fields knowledge.
- A Beginner’s Guide to Advanced Custom Fields
- Best Practices when Designing Custom Fields
- Organizing Custom Fields Inside of WordPress with ACF
- Wait, ACF Has Settings?
License
统计信息
- 总下载量: 7.69k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-07-18