This functionallity is hard coded in Tags plugin. So you can not alter it simply with settings.
But it's a flexible enough to be extended with other plugin for this.
So you can write simple plugin with 2 hooks:
- on «tags.search.pages.query» hook
PHP
1 2 3 4 5 |
if ( $db ->fieldExists( $db_pages , 'page_' . $o )) {
$order = 'ORDER BY `page_' . $o . '`' ;
}
|
- on «tags.first» hook
1 2 3 4 5 6 7 8 9 10 11 12 |
$addition_fields = array(
'begin' => 'Begin date' ,
'author' => 'Author' ,
);
foreach ($addition_fields as $order=>$title)
{
$ord = mb_strtolower($order);
$selected = $ord == $o ? 'selected="selected"' : '' ;
$tag_order .= cot_rc( 'input_option' , array( 'value' => $ord, 'selected' => $selected, 'title' => $title));
}
|