• Is there a way to define my own styles for top-level (or any other level) categories in wp_dropdown_categories? The current output does not assign css classes to the <option> tags:

    <option value=”14″>1st Japanese Release</option>
    <option value=”25″>&nbsp;&nbsp;&nbsp;Helic</option>
    <option value=”26″>&nbsp;&nbsp;&nbsp;Zenebas</option>
    <option value=”27″>&nbsp;&nbsp;&nbsp;Guylos/Etc</option>

    I imagine the answer lies somewhere within preg_replace(), but I still can’t wrap my mind around regular expressions :(.

    thanks in advance,
    rcm

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘need wp_dropdown_categories hack: styling for different cat levels’ is closed to new replies.