• Creator
    Topic
  • #681
    Flikweert
    Participant

    Is it possible to set a limit on the number of group clones? For example, when on the homepage 6 items may be displayed. The clone button disappears or blocked after the 6th item

Viewing 6 replies - 1 through 6 (of 6 total)
  • Author
    Replies
  • #682
    Anh Tran
    Keymaster

    Your idea is interesting. At the moment, this feature has not been inplemented. I think it would be done with Javascript attached on the click event and update the Add more button class or disable attribute. I will think more about that and will imform you when it's done.

    #781
    Flikweert
    Participant

    Hi! Did you build this yet?

    #782
    Anh Tran
    Keymaster

    Not yet. I'm updating the Meta Box plugin with better way to get and display meta value in the frontend. After that (version 4.5) I will go back to limits of clone. Please wait.

    Thank you!

    #904
    josh.rathke
    Participant

    I agree with this 100%. I have a couple implementations of Meta Box that I would love to slide this extension into because of how much code and markup it saves, but I would need to be able to set a max number of clones to fit into the design.

    Also willing to wait a little bit though 🙂

    #921
    Anh Tran
    Keymaster

    FYI, we're adding a new parameter to field called "max_clone" to limit number of clones. The development version is on Github. We're testing and fixing some small issues before releasing new version.

    #957
    Anh Tran
    Keymaster

    FYI, this feature is now available in version 4.5.4. Please update the plugin to use it.

    Enjoy!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Number of clones’ is closed to new replies.