예제 #1
0
</th>
        <th scope="col" style="width: 100px"><?php 
_e('Change position', self::ID);
?>
</th>
      </tr>
    </thead>
    <tbody id="asc-list">
<?php 
self::list_posts(self::get_unsorted_posts($term_id, $tax_name, $post_type, $exclude_ids), $post_type, $tax_name);
?>
    </tbody>
</table>
<div class="tablenav">
<?php 
echo q2w3_post_order_table_paging::controls($total_posts, $rpp);
?>
</div>
<input type="submit" value="<?php 
_e('Update Unsorted', self::ID);
?>
" class="button-primary" />
</form>

<?php 
function q2w3_post_order_term_name($term_id, $tax_name)
{
    $terms_array = q2w3_post_order_term_array($term_id, $tax_name);
    return implode(' &bull; ', $terms_array);
}
function q2w3_post_order_term_array($term_id, $tax_name)