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.
[...] Sort Category Posts By Title,虽然我不知道在每一个分类下安字母顺序排列对于中文Blog有多大意义,不过好奇的可以尝试一下。 category post sort [...]
[...] Sort Category Posts by Title [...]
[...] Sort Categories by Title…カテゴリーの記事の一覧表示をタイトル順に [...]
Thks
Did the trick for me – was using the date to sort … archaic
Is it possible to modify this to sort by custom field instead of title?
Good question. Yes, it is possible. Just change line 15 from ‘title’ to whatever column you want to sort by.
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?
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?
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.
make that a third request! thanks mike
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.
[...] WordPress Sort Category Posts By Title edit / delete [...]
[...] Les billets sont maintenat triés par titre dans l’affichage des pages par catégories. (plugin Sort Categories by Title) [...]
[...] 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 相关文章 [...]
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
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
.
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.
Thanx for developing and sharing this plugin, this is what I was looking for.
[...] WordPress Sort Category Posts By Title __________________ RapidShare URL K
[...] Visit [...]
Great pluGin – I am new to wordpress and this was a big help.
Great plugin!
Thanks for making this into a plugin!
Awesome.
Would be nice to have a feature that let the user chose: Sort by: Title | Date | Custom Field…
I’m waiting
just what i needed. thanks for this plugin I hope there’s an update to sort search results too!
What if I want every search ordered by title…?
thank you very much!! it helped me a lot.
[...] var yahoo_lbgcolor=”FFFFFF”; var yahoo_rbgcolor=”FFFFFF”; var yahoo_type=7; 时间:3:22 PM | 分类:wordpress 标签:Sort Category Posts By Title,wordpress [...]
[...] Пришла в голову идея выводить в определенной рубрике записи в алфавитном порядке. Поначалу хотел исхитриться и реализовать это встроенными средствами wordpress, но не вышло. Можно конечно в sidebar в ручную прописать ссылки на категории с определенными параметрами и выводить записи хоть задом наперед, но для меня это не вариант. Сайдбар выводится через виджет и пока меня это устраивает, а лезть в дебри знания не позволяют. Пришлось отыскать плагин, зовется он Sort Categories By Title. [...]
[…] Пришла в голову идея выводить в определенной рубрике записи в алфавитном порядке. Поначалу хотел исхитриться и реализовать это встроенными средствами wordpress, но не вышло. Можно конечно в sidebar в ручную прописать ссылки на категории с определенными параметрами и выводить записи хоть задом наперед, но для меня это не вариант. Сайдбар выводится через виджет и пока меня это устраивает, а лезть в дебри знания не позволяют. Пришлось отыскать плагин, зовется он Sort Categories By Title. […]
Hi, really Brillant !
Any ideas how to sort now Index page by title too ?
[...] 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. [...]
[...] 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. [...]
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’
[...] 2. Sort Category by Title: WordPress organizza le categorie per data, questo plugin ti permette di mettere le categorie in ordine alfabetico. [...]
[...] 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. [...]
[...] 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. [...]
[...] Sort Category Posts By Title: Sort posts in category view alphabetically by title, rather than the usual chronological order [...]
Great plugin. I am also looking for a way to sort posts in a category by a custom field.
Perfect!! Works perfectly in 2.6.3. Exactly what I was looking for. Thank you!!
Plugin still works in WordPress 3.0.4, and thank goodness because I really needed it for my site.
Thank you. It works in 3.0.5 without problem. Does anyone know what the syntax is to sort on custom field?