Category Widget sorting issue
Is there any way to adjust the sidebar category sorting.
here is my issue:
I'm working on a site for a contract, we would like to see if people will suggest changes and have other members vote up or down on that suggestion.
We have several articles in the contract:
The Agreement
Article 1
Article 2
Article 3...
There is around 60 something articles in this agreement. I created a category for the "The Agreement" and for each article.
Now when the Widget displays the list it sorts it "
Kinda" correctly....
The Agreement
Article 1
Article 10
Article 11
...
Article 19
Article 2
Article 20
...
Article 29
Article 3
Article 30
...
And so on
I went into the ideas>includes>widgets.php and changed:
PHP Code:
$cat_args = array( 'orderby' => 'name', 'show_count' => $c, 'hierarchical' => $h, 'taxonomy' => $taxonomy, 'child_of' => $child_of, 'hide_empty' => $hide_empty, 'depth' => $depth );
?>
to: -- "orderby name --> orderby slug"
PHP Code:
$cat_args = array( 'orderby' => 'slug', 'show_count' => $c, 'hierarchical' => $h, 'taxonomy' => $taxonomy, 'child_of' => $child_of, 'hide_empty' => $hide_empty, 'depth' => $depth );
?>
and went into the categories and changed the slug to
1-the-agreement
2-article-1
3-article-2
and so on... but got the same result as above.
I'm not sure if this is a theme issue or a wordpress issue.
Does anybody know of a fix or point me in the direction I need to be looking?
-Steve