$orderby,
'order' => $order,
'exclude' => '120'
);
$terms = MLAQuery::mla_wp_get_terms( $taxonomy, $args );
$name = ( $name ) ? $name : $taxonomy;
$y=0;
if ( $terms ) {
printf( '
' );
}
}
// Find the most recent gallery pagination parameter,
// which determines the current dropdown selection.
$page_tag = 'mla_current_';
$current_uri = $_SERVER['REQUEST_URI'];
$pos = strrpos( $current_uri, $page_tag );
if ( $pos ) {
$base_uri = substr( $current_uri, 0, strpos( $current_uri, '?' ) );
$selected = substr( $current_uri, $pos + strlen( $page_tag ) );
// Keep only the most recent pagination value
$_SERVER['REQUEST_URI'] = $base_uri . '?' . $page_tag . $selected;
$selected = absint( substr( $current_uri, $pos + strlen( $page_tag ) ) );
} else {
$selected = 0;
}
custom_taxonomy_dropdown( 'attachment_category', 'date', 'ASC', '5', 'attachment_category', 'Select All', NULL, $selected );
?>
slug;
$page_parameter = $page_tag . ++$xyz;
?>