WordPress.org

Ready to get started?Download WordPress

Forums

DIsplay Different Category Menu for Different Category (1 post)

  1. esox
    Member
    Posted 3 years ago #

    Hi All,
    forgive me if there has already been a solution for this, or if this is simple and I'm missing something but the only information I can find relates to pages or a plugin that is no longer available (or an available plugin that doesn't work).

    I wish to display a different wp_dropdown_categories menu for different parent categories and for that dropdown menu to also display in the child categories of that partucular parent, for example:

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

    **then display the menu in the child categories of MGM etc.**

    ...and to save me from having to do the same for each category in that parent
    for exanple:

    if is_category warnerbros-action, warnerbros-thriller, warnerbros-comedy etc etc etc

    I simply want to include the respective menu in the parent category and it's children but I don't know how. I tried if (is_child) but to no effect.

    Any help greatly appreciated.

Topic Closed

This topic has been closed to new replies.

About this Topic