http://www.sublimeoblivion.com/
K2, using this dropdown style (http://goudendouche.com/plugins/dropdown-menu-plugin/)
Would anyone happen to have any idea as to how I could get rid of the link titles in the dropdown nav menu? From the style's function.php:
<?php if ( 'page' != get_option('show_on_front') ): ?>
<li class="<?php if ( is_home() or is_archive() or is_single() or is_paged() or is_search() or (function_exists('is_tag') and is_tag()) ) { ?>current_page_item<?php } else { ?>page_item<?php } ?>"><a href="<?php echo get_settings('home'); ?>/" title="<?php echo get_option('k2blogornoblog&exclude=256,257,258'); ?>"><?php echo get_option('k2blogornoblog'); ?></a></li>
<?php endif; ?>
By adding the &exclude=256,257,258 to the code above, I got the title removed from the leften-most link to the blog homepage.
<?php wp_list_pages('sort_column=menu_order&depth=3&title_li=&exclude=256,257,258'); ?>
However doing this for the code above didn't work. Meaning that the title link shows up whenever one passes a cursor over the pages on the nav menu.
The full code for function.php is below:
<?php
function dropdown_head() {
?>
<!--[if IE]>
<style type="text/css" media="screen, tv, projection">
body { behavior: url("<?php k2info('current_style_dir'); ?>/csshover.htc"); }
</style>
<![endif]-->
<?php
}
function display_dropdown() {
?>
<div id="dropdown">
<ul>
<?php if ( 'page' != get_option('show_on_front') ): ?>
<li class="<?php if ( is_home() or is_archive() or is_single() or is_paged() or is_search() or (function_exists('is_tag') and is_tag()) ) { ?>current_page_item<?php } else { ?>page_item<?php } ?>"><a href="<?php echo get_settings('home'); ?>/" title="<?php echo get_option('k2blogornoblog&exclude=256,257,258'); ?>"><?php echo get_option('k2blogornoblog'); ?></a></li>
<?php endif; ?>
<?php wp_list_pages('sort_column=menu_order&depth=3&title_li=&exclude=256,257,258'); ?>
<?php wp_register('<li class="admintab">','</li>'); ?>
</ul>
</div>
<?php
}
// Insert our menu
add_action('wp_head', 'dropdown_head');
add_action('template_before_content', 'display_dropdown');
// Remove K2's menu
remove_action('template_header', 'k2_header_menu');
?>
Thanks for any help.