• Resolved Ciredor

    (@ciredor)


    After first few hours with this plugin i already love it. But there’s one thing i have problem with with is metaboxes (new_cmb2_box) order. At first i thought they are ordered based on code (in functions.php for example) but i found out that they are actually ordered by box ID.

    $cmb = new_cmb2_box( array(
     'id'            => '02_test',
    ....
    ));
    $cmb = new_cmb2_box( array(
     'id'            => '01_test',
    ....
    ));

    Is there any way to disable that sorting or do i have to add like in this example number_text as id ?

    https://ww.wp.xz.cn/plugins/cmb2/

Viewing 1 replies (of 1 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    I am not managing to recreate this. I even have matching spts like what you have above and it’s rendering them in the order found in the code.

    Could you provide your complete codeblock so I can try with that exactly?

Viewing 1 replies (of 1 total)

The topic ‘Box order’ is closed to new replies.