WordPress Sort Category Posts By Title
I have written a plugin for those who have been asking for a quick way to sort posts in category view alphabetically by title, rather than the usual chronological order.
This is important if your readers don’t care when things were posted.
This plugin was designed for WordPress 2.0.2.
Download it here: sort_category_posts_by_title.zip
To install, simply extract to /wp-content/themes/plugins and Activate from inside the WordPress Plugins panel.
Currently this is designed to only alphabetize posts when viewed by category and will not alphabetize posts on the front page, search results, archives, etc. It manipulates the query_vars->order_by and query_vars->order variables from inside classes.php so that sorting is done by title, in ascending order.
But the code is simple enough, if you want to make it do that yourself.

(4.81 out of 5)
about 3 years ago
[...] Sort Category Posts By Title,虽然我不知道在每一个分类下安字母顺序排列对于中文Blog有多大意义,不过好奇的可以尝试一下。 category post sort [...]
about 3 years ago
[...] Sort Category Posts by Title [...]
about 3 years ago
[...] Sort Categories by Title…カテゴリーの記事の一覧表示をタイトル順に [...]
about 3 years ago
Thks
Did the trick for me – was using the date to sort … archaic
about 3 years ago
Is it possible to modify this to sort by custom field instead of title?
about 3 years ago
Good question. Yes, it is possible. Just change line 15 from ‘title’ to whatever column you want to sort by.
about 3 years ago
Forgive my ignorance… I searched wordpress support but I can’t tell… if it’s a custom field do I need to just put the “key” name or is there something additional to add?
about 3 years ago
Great idea for a plugin. Of course, a question:
How would I set about listing _some_ categories alphabetically (eg book reviews, by author) and other categories (eg event listings and news items) by date?
There’s always someone, huh?
about 3 years ago
I have had two requests for this added functionality, so I will provide it in a new version coming soon.
I’ll keep everyone posted as soon as the update is released.
about 3 years ago
make that a third request! thanks mike
about 3 years ago
hi, what about listing only the post title on category view. or post with date and a little excerpt? I hope someone can provide this. thanks a lot.
about 3 years ago
[...] WordPress Sort Category Posts By Title edit / delete [...]
about 3 years ago
[...] Les billets sont maintenat triés par titre dans l’affichage des pages par catégories. (plugin Sort Categories by Title) [...]
about 3 years ago
[...] WordPress Sort Category Posts By Title Sort Category Posts By Title,虽然我不知道在每一个分类下安字母顺序排列对于中文Blog有多大意义,不过好奇的可以尝试一下。 (tags: wordpress) 归类于: Del.icio.us Tags : No Tags 相关 Tags : No Tags Previous post in Del.icio.us:links for 2006-10-13 Next post in Del.icio.us:links for 2006-10-22 相关文章 [...]
about 3 years ago
I find that if one title happens to have a space at the beginning (from copying and pasting a title without noticing) that the whole list does not get sorted out correctly. Is there a way to make it ignore spaces at the beginning of the title?
thanks
about 3 years ago
It works great for me in Mundo-CPC, thank you very much!!!
(I hope it will run ok under WP 2.1).
I´ll try to make a donation
.
about 2 years ago
Thanks for the great plugin. I’ve integrated it on the Toronto Meditation Guide (http://torontomeditationguide.org), with a credit to your work here: http://torontomeditationguide.org/about/credits/
Thanks, again, for your great work.
about 2 years ago
Thanx for developing and sharing this plugin, this is what I was looking for.
about 2 years ago
[...] WordPress Sort Category Posts By Title __________________ RapidShare URL K
about 2 years ago
[...] Visit [...]
about 2 years ago
Great pluGin – I am new to wordpress and this was a big help.
about 2 years ago
Great plugin!
about 2 years ago
Thanks for making this into a plugin!
about 2 years ago
Awesome.
Would be nice to have a feature that let the user chose: Sort by: Title | Date | Custom Field…
I’m waiting
about 2 years ago
just what i needed. thanks for this plugin I hope there’s an update to sort search results too!
about 2 years ago
What if I want every search ordered by title…?
about 2 years ago
thank you very much!! it helped me a lot.
about 2 years ago
[...] var yahoo_lbgcolor=”FFFFFF”; var yahoo_rbgcolor=”FFFFFF”; var yahoo_type=7; 时间:3:22 PM | 分类:wordpress 标签:Sort Category Posts By Title,wordpress [...]
about 2 years ago
[...] Пришла в голову идея выводить в определенной рубрике записи в алфавитном порядке. Поначалу хотел исхитриться и реализовать это встроенными средствами wordpress, но не вышло. Можно конечно в sidebar в ручную прописать ссылки на категории с определенными параметрами и выводить записи хоть задом наперед, но для меня это не вариант. Сайдбар выводится через виджет и пока меня это устраивает, а лезть в дебри знания не позволяют. Пришлось отыскать плагин, зовется он Sort Categories By Title. [...]
about 2 years ago
[…] Пришла в голову идея выводить в определенной рубрике записи в алфавитном порядке. Поначалу хотел исхитриться и реализовать это встроенными средствами wordpress, но не вышло. Можно конечно в sidebar в ручную прописать ссылки на категории с определенными параметрами и выводить записи хоть задом наперед, но для меня это не вариант. Сайдбар выводится через виджет и пока меня это устраивает, а лезть в дебри знания не позволяют. Пришлось отыскать плагин, зовется он Sort Categories By Title. […]
about 2 years ago
Hi, really Brillant !
Any ideas how to sort now Index page by title too ?
about 2 years ago
[...] Sort Categories by Title (free): Wordpress normally sorts things in categories by Date, this allows you to sort everything alphabetically which works much better for a shop type layout. [...]
about 2 years ago
[...] Sort Categories by Title (free): Wordpress normally sorts things in categories by Date, this allows you to sort everything alphabetically which works much better for a shop type layout. [...]
about 2 years ago
Just a note, if you want to change post titles from Ascending to Descending – example from 1, 2, 3 to 3, 2, 1 just change:
‘ASC’ to ‘DES’
about 2 years ago
[...] 2. Sort Category by Title: Wordpress organizza le categorie per data, questo plugin ti permette di mettere le categorie in ordine alfabetico. [...]
about 2 years ago
[...] Sort Categories by Title (free): Wordpress normally sorts things in categories by Date, this allows you to sort everything alphabetically which works much better for a shop type layout. [...]
about 2 years ago
[...] Sort Categories by Title (free): Wordpress normally sorts things in categories by Date, this allows you to sort everything alphabetically which works much better for a shop type layout. [...]
about 2 years ago
[...] Sort Category Posts By Title: Sort posts in category view alphabetically by title, rather than the usual chronological order [...]
about 1 year ago
Great plugin. I am also looking for a way to sort posts in a category by a custom field.
about 1 year ago
Perfect!! Works perfectly in 2.6.3. Exactly what I was looking for. Thank you!!