Comments (3)
How do you mean? Please explain a bit more.
from extended-acf.
In your editor you can add snippets so I don't have to look at the docs all the time. I would add a minimal, full and documented version for each helper.
"Acf text": {
"prefix": "acf_wysiwyg",
"body": [
"acf_wysiwyg([",
"\t'name' => '$1',",
"\t'label' => __('$2', 'acf'),",
"]),"
],
"description": "Minimal acf wysiwyg helper"
},
"Acf text full": {
"prefix": "acf_wysiwyg_full",
"body": [
"acf_wysiwyg([",
"\t'name' => '$1',",
"\t'label' => __('$2', 'acf'),",
"\t'tabs' => 'all',",
"\t'toolbar' => 'full',",
"\t'media_upload' => 1,",
"\t'default_value' => '',",
"\t'delay' => 0,",
"\t'wrapper' => ['width' => '100%'],",
"]),"
],
"description": "Full acf wysiwyg helper"
},
"Acf text full docs": {
"prefix": "acf_wysiwyg_full_docs",
"body": [
"acf_wysiwyg([",
"\t'name' => '$1',",
"\t'label' => __('$2', 'acf'),",
"\t'tabs' => 'all', // all, visual, text",
"\t'toolbar' => 'full', // basic or full",
"\t'media_upload' => 1, // 1 or 0",
"\t'default_value' => '',",
"\t'delay' => 0, // 1 or 0",
"\t'wrapper' => ['width' => '100%'], // styles",
"]),"
],
"description": "Documented acf wysiwyg helper"
}
Which results in:
acf_wysiwyg([
'name' => '',
'label' => __('', 'acf'),
]),
acf_wysiwyg([
'name' => '',
'label' => __('', 'acf'),
'tabs' => 'all',
'toolbar' => 'full',
'media_upload' => 1,
'default_value' => '',
'delay' => 0,
'wrapper' => ['width' => '100%'],
]),
acf_wysiwyg([
'name' => '',
'label' => __('', 'acf'),
'tabs' => 'all', // all, visual, text
'toolbar' => 'full', // basic or full
'media_upload' => 1, // 1 or 0
'default_value' => '',
'delay' => 0, // 1 or 0
'wrapper' => ['width' => '100%'], // styles
]),
And thought you might already created these. If not, I'll create them myself. Maybe you want to add those to the repo.
from extended-acf.
Thanks for the suggestion but I think this is out of scope of this package. Personally Iām using intellisense which already describes the functions.
from extended-acf.
Related Issues (20)
- register multiple field in a foreach HOT 8
- [Suggestion] Better way to setup ACF HOT 1
- custom taxonomy, change order and order by HOT 2
- "translations" field and arbitrary setting HOT 4
- Ordering Registration / Rendering of Groups for Taxonomies HOT 4
- OpenStreetMap creating custom fields HOT 3
- Add ACF number field float support for min and max field properties HOT 3
- checkbox toggle function HOT 1
- Improve field creation with choices method by automatically converting values using `sanitize_title` HOT 2
- ā¤ļø FAQ: difference between extended-acf and acf-builder HOT 8
- Adding customizable toolbars for the WYSIWYG editor field HOT 1
- Rename ReadOnly to Writable on 11.x tag HOT 3
- Strange issues when setting up languages with Polylang HOT 2
- some acf-extended-specific settings (`acfe_*`) have no effect HOT 1
- [Feature Request]: Add column wrapper width helper HOT 1
- [Feature Request]: Add markdown support to instructions
- [Feature Request]: Export extended-acf fields from ACF dashboard HOT 2
- column() must be specified after wrapper() HOT 3
- Relationship field : PostStatus filter is missing HOT 2
- Meta Query for User Roles field HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from extended-acf.