Few days ago I uploaded a new plugin at WordPress.org repo. It is called AZ-Order and allows you to display your posts in alphabetical order with a simple shortcode [azsampcode] (I will change this shortcode to [azorder] in the next version) There is also a plugin settings page where you can specify custom post type which you want to display. As I explained in the plugin’s description you must be sure that your database is using the right collation for your language, otherwise there is a chance for errors and wrong letters order.
Below is posted a screenshot of example how it is working on my personal blog, you can see that the latin and cyrillic alphabets are ordered one after other in that case.
Here is a link to AZ-Order plugin in WordPress.org: http://wordpress.org/extend/plugins/az-order/
Hope that this can be useful for some of you!
Please let me know if you have an idea for new features that I can add. For now I am planning to create settings option for user to choose a category or tag and also some css to display the letter menu more accurate.
Hi.
Thank you for making this plugin. Being a newbie, I’m not quite sure how to use it properly.
I need posts from one of my categories to appear in the A to Z order. So, should i type “mycategoryname” in the post type in the AtoZ admin page?
Appreciate your time!
D
Hi,
This option is still not available but I am planning to commit the new version tomorrow with option for this. If you still have no solution you can check for the update.
Hope that this helps!
Thank you Cleo.. look forward to the update
The plugin is updated, enjoy!
Thank you for the update. It works well.
I have just added some code to your azpost file to get the posts arranged in 4 columns.
Hope this is useful to you:
if($first_letter !=$current){
$azlist .=”$first_letter\n”;
$aznav .=”$first_letter“;
$current = $first_letter;
}?>
<?php $url = get_permalink();
$azlist .="“;
$azlist .=get_the_title().”“;
endwhile;
}
echo ”. $aznav . “”. $azlist . “”; ?>
Sorry- this works better:
if($first_letter !=$current){
$azlist .=”$first_letter\n”;
$aznav .=”$first_letter“;
$current = $first_letter;
}?>
<?php $url = get_permalink();
$azlist .="“;
$azlist .=get_the_title().”“;
endwhile;
}
echo ”. $aznav . ” “. $azlist . “”; ?>
Sorry for spamming.. but the style code is not showing in my previous comments. Let me know if you’d like me to mail it to you.
Cheers
D
Obviously there was some problem with the comments here, now your comments are visible 🙂
so i am trying to use this as well. i got thrown into the position to maintain our company’s website and i know just the VERY BASICS. i contacted the “web team” that set up our site and they also can not figure out how to use this.
below is a link to a page/ catagory that i would need to use this plugin and i can not figure out how to make it work.
http://www.ddswholesale.com/category/asanti-forged
any help would be great
thanks
brett
What exactly you are trying to do?
i would like to sort the posts on that link in the last comment a-z and not sure where to write the code
You can’t sort the category archive page with the plugin, you can do that on a page created for that purpose where you need to add a short code like that: [az-order].
thanks for the fast reply. do you know of any options that could work ? should i have done something differently when they were created?
You mean to work on the category archive page? I suggest your web team to just create a new category template and list there the posts the way that you need. Good luck!
Thanks, i will get with them again