Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Page & Category Menu Bars (http://forum.bytesforall.com/forumdisplay.php?f=10)
-   -   Sorting posts alphabetically in category (http://forum.bytesforall.com/showthread.php?t=20653)

Paul33 Jul 17, 2013 01:36 AM

Sorting posts alphabetically in category
I've wasted hours of my life trying to resolve this one via "solutions" documented elsewhere and I'm getting nowhere !

I simply want ALL posts in ALL categories to appear in alphabetic order in the sidebar menu instead of chronological order.

Can somebody please explain in simple terms how I do this ?

juggledad Jul 17, 2013 03:27 AM

Not sure I understand, in a sidebar you want to list all posts from all categories in alphabetical order?
Or are you wanting to list all the category names in alphabetical order?

If it is case (1) what is the difference from just listing all posts alphabetically? And that could make the sidebar very long as the number of posts increases.

Paul33 Jul 17, 2013 04:02 AM

Sorry for the confusion ....... my sidebar will have two or three categories, within which there will be about 20 posts and I want those post (titles) listed under each category in alphabetic order.

It is fine at the moment apart from the posts are in reverse chronological order and I need them alphabetical as the posts are being used as an A-Z reference.

juggledad Jul 17, 2013 04:12 AM

tthis is something that is handled by the widget/plugin you are using - you maybe able to edit it's code and add a sort order to the query it is using

Paul33 Jul 17, 2013 06:41 AM

The "widget" is simply the "Recent Posts" widget that ships with Wordpress but okay ..... will head off and find help elsewhere.

juggledad Jul 17, 2013 06:45 AM

Try searching for a posts widget you may find one that suits your needs

Paul33 Jul 17, 2013 06:58 AM

I'll go and look ..... the last one bust my Wordpress and had to be removed via MyPhP but I'll look for more !

All times are GMT -6. The time now is 05:49 AM.

Powered by vBulletin® Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.