Git Product home page Git Product logo

Comments (2)

samrap avatar samrap commented on May 29, 2024

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.

samrap avatar samrap commented on May 29, 2024

Closing this issue for now. I will leave it open for discussion.

from acf-fluent.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.