Category display help... Please! (2 posts)

  1. greencode
    Posted 4 years ago #

    I have the following categories:

    - State
    - - City

    And I'm using the following to display what category a post is in, so that it appears in

    So when I display a post I would like the list of categories to be in order of category. Example:

    USA | Texas | Austin | San Diego

    At the moment it just shows in alphabetical order using the the_category tag:

    Austin | San Diego | Texas | USA

    Any help would be really appreciated as I wouldn't have the first idea where to start with the coding of that!

  2. greencode
    Posted 4 years ago #

    Also, forgot to mention i'd like to remove the first parent from the list of categories that show because at the moment it shows as:

    Austin | Cities | Countries | San Diego | States | Texas | USA

    So, "Cities", "Countries" and "States" do not need to show in the list.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.