WordPress.org

Ready to get started?Download WordPress

Forums

How to list different category levels (2 posts)

  1. JozefMac
    Member
    Posted 7 months ago #

    Hello everyone,

    I want to create and A-Z of movies for my site. I would like to have a page that will display these movies in alphabetical order in relatively the same was as this:
    A
    1
    2
    3
    B
    1
    2
    3

    etc

    Now I have created a category for each letter and put them under a parent category of "movie alphabet"

    The problem is i cant really get my head around how should be done the best way. My idea would be having something like this
    A
    [catid=blah]
    B
    [catid=blah]

    etc
    Is there any other way for this to be done?

    Thanks for your help!
    Jozef

  2. Colin Young
    Member
    Posted 7 months ago #

    Hi Jozef

    Without spending time trolling through code I would suggest checking the php to see if an array has been created. You can then look into array commands that sort in specific orders.

    Try http://www.w3schools.com/php/php_arrays_sort.asp for info

Reply

You must log in to post.

About this Topic