• I am using dynamic menu highlighting as suggested in the wordpress codex.

    It is working on almost all of my pages. However, I have a portfolio section called ‘Work’ with multiple sub categories and I cannot get the subcategories and single posts within these subcategories to highlight the main portfolio ‘Work’ link.

    Here is what I mean. I have a top level menu link of ‘Work’. Within that there are subcats of interactive, print, outdoor, etc, etc.

    when I am in a subcategory or post of one of the subcategories of the main portfolio ‘Work’ link itself I want the ‘Work’ link to be highlighted. This is the code I am using:

    <li<?php
                   if (is_category(array('interactive','microsite','email','print'))
                    {
                    echo " id=\"current\"";
                    }?>>
                    <a>Work</a>
    <ul>
        			<?php wp_list_categories("exclude=$blog_ID&title_li="); ?>
        		</ul>
            </li>

    This is giving me an error. I can sort of see why….but I don’t know how to correct it. Would I need to use an elseif statement within this particular list item?

    Here’s the site: http://newsite.blairshapiro.com

    Any help would be hugely appreciated!

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Menu issue for months, no answer yet…Anybody?’ is closed to new replies.