<div dir="ltr">Note, if you want to add a parent class for the fallback wp_page_menu, I think this should work:<div><br></div><div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div style><pre class="" style="margin-top:0px;margin-bottom:10px;padding:5px;border:0px;font-size:12px;vertical-align:baseline;overflow:auto;width:auto;max-height:600px;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;background-color:rgb(238,238,238);color:rgb(57,51,24)">
<code style="margin:0px;padding:0px;border:0px;vertical-align:baseline;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;color:rgb(34,34,34)"><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(138,74,11)">function</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:black"> prefix_add_parent_class</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(20,86,128)">(</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:black"> $css_class</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(20,86,128)">,</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:black"> $page</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(20,86,128)">,</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:black"> $depth</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(20,86,128)">,</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:black"> $args </span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(20,86,128)">)</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:black">
</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(20,86,128)">{</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:black">
</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(138,74,11)">if</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:black"> </span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(20,86,128)">(</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:black"> </span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(20,86,128)">!</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:black"> empty</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(20,86,128)">(</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:black"> $args</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(20,86,128)">[</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:maroon">'has_children'</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(20,86,128)">]</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:black"> </span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(20,86,128)">)</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:black"> </span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(20,86,128)">)</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:black">
$css_class</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(20,86,128)">[]</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:black"> </span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(20,86,128)">=</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:black"> </span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:maroon">'parent'</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(20,86,128)">;</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:black">
</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(138,74,11)">return</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:black"> $css_class</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(20,86,128)">;</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:black">
</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(20,86,128)">}</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:black">
add_filter</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(20,86,128)">(</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:black"> </span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:maroon">'page_css_class'</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(20,86,128)">,</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:black"> </span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:maroon">'prefix_add_parent_class'</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(20,86,128)">,</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:black"> </span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(149,56,56)">10</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(20,86,128)">,</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:black"> </span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(149,56,56)">4</span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:black"> </span><span class="" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(20,86,128)">);</span></code></pre>
</div></blockquote></div><div><br></div><div style>(Untested, for the moment.)</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Mar 19, 2013 at 9:43 PM, Amy Hendrix <span dir="ltr"><<a href="mailto:sabreuse@gmail.com" target="_blank">sabreuse@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">You were just carried away with your Genericon enthusiasm ;)</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Mar 19, 2013 at 9:40 PM, Chip Bennett <span dir="ltr"><<a href="mailto:chip@chipbennett.net" target="_blank">chip@chipbennett.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Okay, so I love Genericons, but am no good at posting my own development server URL:<div><br></div><div>
<a href="http://design.chipbennett.net/oenology/blog" target="_blank">http://design.chipbennett.net/oenology/blog</a></div>
</div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Mar 19, 2013 at 9:39 PM, Chip Bennett <span dir="ltr"><<a href="mailto:chip@chipbennett.net" target="_blank">chip@chipbennett.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Yep; it works like a charm:<div><a href="http://dev.chipbennett.net/oenology/blog" target="_blank">http://dev.chipbennett.net/oenology/blog</a></div>
<div><br></div><div>(Also: I love Genericons!)</div></div>
<div class="gmail_extra"><br><br><div class="gmail_quote"><div>On Tue, Mar 19, 2013 at 9:32 PM, Bryan Hadaway <span dir="ltr"><<a href="mailto:bhadaway@gmail.com" target="_blank">bhadaway@gmail.com</a>></span> wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Cool, so in the future I could use this technique to get the class in there in order to have the dropdown arrows as apposed to the jQuery trick (which will obviously have much more load) that I'm using to get .parent? If that's correct, I'll definitely put that on my list of improvements to be made.<br>
<br></div><div>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></div></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br></div>