Comments (2)
Hey! Sorry for the late response, I never saw the notification.
I'm currently working on an elegant solution for group/clone fields. No code just yet, trying to see if it even makes sense from a usability and performance standpoint. As it is, ACF Fluent instantiates 2 classes for every call. My main priority is bringing that down at the moment, but I definitely would like an elegant solution to group fields as well.
As far as an implementation of have_rows(); the_row();
, I have decided not to support these functions. I avoid the loop like the plague in WordPress, and those functions can easily be replaced with something like the following (Sage 9/ACF Flex template):
@while (the_flexible_field('modules'))
@include('modules/'.get_row_layout())
@endwhile
This avoids the need to use those nasty loop functions in the first place. I have not come across another need for them since. If you have a use case, feel free to let me know and I'll consider implementing something. I have a couple more functions coming shortly in 0.4 😁 .
Sorry again for seeing this so late, and thanks for the support! Stoked that other people are finding this thing fun to use!
from acf-fluent.
Closing this issue for now. I will leave it open for discussion.
from acf-fluent.
Related Issues (11)
- Add support for format_value argument
- unexpected 'default' (T_DEFAULT), expecting identifier (T_STRING) HOT 6
- Shortcodes method is not fluent
- Default does not work as expected for getting sub fields
- Support for "macros"
- Please Help me
- Escape method should allow/default to WordPress sanitization functions.
- Consider changing namespace HOT 4
- Refactor/Clean up tests
- Cache internal classes where appropriate. 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 acf-fluent.