/ Published in: jQuery
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function nav_jquery_functions() { ?> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script> <script> $(function(){ $("ul#tabs li:contains('About')").addClass("about"); }); </script> <?php } add_action ('wp_head', 'nav_jquery_functions', '99');