Support

Account

Forum Replies Created

  • Hey I have found a solution.

    It requires a core edit of the plugin though, so I hope you might be able to implement it in the core?

    $sort = array();
    	foreach ($value as $key => $row) {
    	  $sort[$key]  = $row['order_no'];
    	}
    	array_multisort($sort, SORT_ASC, $value);

    On line 144 of api.php

    On the CPT template I can then use:

    $meta = get_fields( get_the_ID() );
    foreach($meta as $key=>$value) {
    
    // Stuff here
    
    }
Viewing 1 post (of 1 total)