Add comments orderby to sort-and-filter options
This commit is contained in:
parent
e054224951
commit
9ea18e184e
@ -653,6 +653,10 @@ function fictioneer_sort_order_filter_interface( $args ) {
|
||||
'title' => array(
|
||||
'label' => _x( 'Title', 'Sort and filter option.', 'fictioneer' ),
|
||||
'url' => add_query_arg( array( 'orderby' => 'title' ), $current_url ) . '#sof'
|
||||
),
|
||||
'comment_count' => array(
|
||||
'label' => _x( 'Comments', 'Sort and filter option.', 'fictioneer' ),
|
||||
'url' => add_query_arg( array( 'orderby' => 'comment_count' ), $current_url ) . '#sof'
|
||||
)
|
||||
);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user