• Hello, I have your Group extension and here this task for me.

    I need making some function, that can foreach all posts of custom post type and duplicating last repeated block in clone group. In each post.

    As example, I have 10+ posts with block

    Some Block:
    [text "Date"] = 26.04.2015
    [text "Price"] = 150
    —————————
    [text "Date"] = 30.04.2015
    [text "Price"] = 160
    —————————

    after running function I should have in every post duplicate of last repeated block, like this:
    Some Block:
    [text "Date"] = 26.04.2015
    [text "Price"] = 150
    —————————
    [text "Date"] = 30.04.2015
    [text "Price"] = 160
    —————————
    // it’s should be created after running my function.
    [text "Date"] = 30.04.2015
    [text "Price"] = 160
    —————————

    It’s possible?

    https://www.ads-software.com/plugins/meta-box/

  • The topic ‘How duplicate values in Clone group?’ is closed to new replies.