WordPress.org

Forums

Custom Menu in Posts Depending on Category (2 posts)

  1. headlinesport
    Member
    Posted 10 months ago #

    Hi
    I'm newish to WordPress so forgive me if I'm asking dumb questions.

    I run a sport/news website headlinesport.com and we have a requirement to display custom menus in POSTS depending on the category the post is in.

    For example, taking football:
    Currently the category structure of the site for say Arsenal is:
    category/football/premiership/arsenal

    What I would like is a custom menu to appear at the top of the post with the other teams in the premiership. I'm happy for the custom menus to be created by me beforehand (ie not dynamic) as the teams only change at the start of a new season.

    What I'm try to work out is how I code/work out what I need at the top of a post to say show "premiershipMENU" if category is category/football/premiership (or lower).

    Theme I'm using is fourteen four.

    Thanks in advance

  2. headlinesport
    Member
    Posted 10 months ago #

    Anyone?

Reply

You must log in to post.

About this Topic