The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Grouped custom post type added to WordPress 3 Menu (1 post)

  1. jester48
    Posted 3 years ago #

    I have created a custom post type called "team"
    Each team can belong to only one sport which i have set as a category (hockey, baseball, football, etc)
    I have code in functions.php for creating custom menu options based on custom taxonomy.

    I would like to modify this to manage the teams by category, I can manipulate the code to update the menu; what I need is a listing if the teams by sport.
    so that I get all categories only used for custom post type team, and all teams in that category.
    a list of custom post type with category ordered/grouped by category

    Division 1
    team 1
    team 2

    team 4
    team 8

    team 3
    team 5
    team 6
    Team 7

    Division 2
    team 16
    team 12

    team 9
    team 11

    team 10
    team 13
    team 14
    Team 15

Topic Closed

This topic has been closed to new replies.

About this Topic