$custom_terms = get_terms('fund_group');
foreach($custom_terms as $custom_term) {
wp_reset_query();
- $args = array('post_type' => 'fund',
+ $args = array(
+ 'post_type' => 'fund',
+ 'orderby' => 'title',
+ 'order' => 'ASC',
'tax_query' => array(
array(
'taxonomy' => 'fund_group',
function funds_admin_custom_columns($column)
{
global $post;
-
+
switch ($column) {
case 'fund_col_cat':
$fund_cats = get_the_terms( $post->ID, 'fund_group' );
}
}
function funds_admin_edit_columns($columns)
-{
+{
$columns = array(
'cb' => '<input type="checkbox">',
'title' => FUND_SINGLE . ' Title',
$filters = get_object_taxonomies( $typenow );
foreach ( $filters as $tax_slug ) {
-
+
$tax_obj = get_taxonomy( $tax_slug );
wp_dropdown_categories( array(
'show_option_all' => __( 'Show All ' . $tax_obj->label ),