WordPress.org

Support

Support » How-To and Troubleshooting » I need help on manually sorting Sub-Categories in the Article Directory

I need help on manually sorting Sub-Categories in the Article Directory

  • sandychennai
    Member

    @sandychennai

    Hi All,

    I am newbie..i need some help…

    I have a problem on ordering sub-categories, which are under categories. I have a main category called “Alphabets”.

    Contrary to pages, WP doesn’t seem to allow us to order sub-categories manually.

    I searched the WP and could find only the ordering of Categories, so with that help i did this…

    I have used the ordering of the categories using My Category Order

    But i could not do it for sub-categories

    I want to sort my sub-categories manually, not ASC or DEC.

    For Example : using ASC

    Categories – Alphabets(4)
    sub-Categories – Apple(3)
    Boy(2)
    Cat(5)
    Dog(1)

    For Example : using DESC

    Categories – Alphabets(4)
    sub-Categories – Dog(1)
    Apple(3)
    Boy(2)
    Cat(5)

    I want to display the sub-categories manually in this order as below

    For Example : using Manually

    Categories – Alphabets(4)
    sub-Categories – Cat(5)
    Apple(3)
    Dog(1)
    Boy(2)

    Please some one help me on sorting this issue.

    Please point me of some plugin which can do it, or we should do some changes in the My Category Order
    do manually sort the sub-categories.

    Thanks a lot…

Viewing 6 replies - 1 through 6 (of 6 total)
  • use order clause

    sandychennai
    Member

    @sandychennai

    Hi wprock,
    How to use order clause, i think it has only two clause, ASC and DESC..

    Pls help on this, how to change the order clause to use it manually.

    Thanks..

    sandychennai
    Member

    @sandychennai

    Hi,
    Any one please help me on this…
    how to manually sort the sub-categories under categories as

    Categories – Alphabets(4)
    sub-Categories –
    Cat(5)
    Apple(3)
    Dog(1)
    Boy(2)

    Thanks..

    sandychennai
    Member

    @sandychennai

    Any Suggestions…

    Thanks..

    froman118
    Member

    @froman118

    sandy,

    What couldn’t you get working with My Category Order? It works, but you do have to make sure the widget or theme is configured correctly. What steps did you take to get the order displaying per the installation instructions?

    sandychennai
    Member

    @sandychennai

    Hi Andrew,

    Sorry for the delay, i was out of city…

    I just went through the Installation details, but there is no side bar template.

    Before, the Categories order were working , now that is also not working.

    There is no file with “sidebar template”…

    How to do that, where i have to replace this code
    wp_list_categories(‘orderby=order&title_li=’);

    In this file Category Template (category.php)

    <[Code moderated as per the Forum Rules. Please use the pastebin]

    Please help me on where to add the code..

    Thanks,
    Sandy

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘I need help on manually sorting Sub-Categories in the Article Directory’ is closed to new replies.