• hi guys,
    i have a lot of categories and i’d like to have a “category navigation” like [ # – A – B – C – D … ]
    if you click on a letter, only the categories beginning with this letter should be listed. is there any plugin or a code snipped i can add?

    for an example take a look at this site: http://www.lyricstothesong.com/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter bingobear

    (@bingobear)

    hi, thanks for the quick reply, but i think wp-snap generates a navigation only for posts, not for categories itself

    Well on the example you showed (lyricstothesong), that wasn’t categories either, necessarily 🙂

    I was going to suggest WP-Snap too, but like you found out, that is for listing Posts in alpha order, not category names.

    Otherwise… lemme see….

    You can, of course, list your categories in alphabetical order, using wp_list_categories with orderby=name,
    http://codex.wordpress.org/Template_Tags/wp_list_categories

    So one idea is, make the Parent Categories… A, B, C, D, E….

    Then make the Child categories under each letter.

    A >
    Actors
    Agriculture
    Apples

    Now you can use wp_list_categories and show ONLY the Parent categories. That’s your Alphabetical index. On the category template for each letter, you can put the posst from the child-categories, or the names of the child categories.

    How about that?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘how to get a category navigation like [ # – A – B – C – D … ]’ is closed to new replies.