Skip to content

Commit

Permalink
Add orderby comment count to advanced search
Browse files Browse the repository at this point in the history
  • Loading branch information
Tetrakern committed Nov 26, 2024
1 parent 7ee63c9 commit cad62a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions searchform.php
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@ class="reset"
<option value="date" <?php echo $orderby == 'date' ? 'selected' : ''; ?>><?php _ex( 'Published', 'Advanced search option.', 'fictioneer' ); ?></option>
<option value="modified" <?php echo $orderby == 'modified' ? 'selected' : ''; ?>><?php _ex( 'Updated', 'Advanced search option.', 'fictioneer' ); ?></option>
<option value="title" <?php echo $orderby == 'title' ? 'selected' : ''; ?>><?php _ex( 'Title', 'Advanced search option.', 'fictioneer' ); ?></option>
<option value="comment_count" <?php echo $orderby == 'comment_count' ? 'selected' : ''; ?>><?php _ex( 'Comments', 'Advanced search option.', 'fictioneer' ); ?></option>
</select>
</div>

Expand Down

0 comments on commit cad62a7

Please sign in to comment.