Hey Guys, I would first of all like to say thank you VERY much for such an awesome theme framework. I think I will be using it exclusively from now on! (as much as is possible)
Now, I've been working on a new site for a client and following the guides posted that uses
add_action('init','remove_thematic_actions');
to remove the standard nav and
add_action('thematic_header','custom_childtheme_access',9);
to add your own. (I'll add the full function below) The problem I am having is that the skip link is being added three times instead of once before the nav menu:
<div id="access">
<div class="skip-link"><a href="#content" title="Skip navigation to the content">Skip to content</a></div><a href="#content" title="Skip navigation to the content">
</a><div class="menu"><a href="#content" title="Skip navigation to the content">
</a><ul class="menu"><a href="#content" title="Skip navigation to the content">
</a><li class="menu-item menu-item-1"><a href="#content" title="Skip navigation to the content"></a><a href="#">About</a></li>
<li class="menu-item menu-item-2"><a href="#">Beauty</a></li>
... etc ...
here's my code and a link to the site: http://new.eccotique.com/
function custom_childtheme_access(){?>
<div id="access">
<div class="skip-link"><a href="#content" title="<?php _e('Skip navigation to the content','thematic-child');?>"><?php _e('Skip to content','thematic-child');?></div>
<div class="menu">
<ul class="menu">
<li class="menu-item menu-item-1"><a href="#">About</a></li>
<li class="menu-item menu-item-2"><a href="#">Beauty</a></li>
<li class="menu-item menu-item-3"><a href="#">Contact</a></li>
<li class="menu-item menu-item-4"><a href="#">Hair</a></li>
<li class="menu-item menu-item-5"><a href="#">Services</a></li>
<li class="menu-item menu-item-6"><a href="#">What's Happening</a></li>
<li class="menu-item menu-item-7"><a href="#">Your Ideas</a></li>
</ul>
</div><!-- #menu -->
</div><!-- #access -->
<?php }
add_action('thematic_header','custom_childtheme_access',9);
Any help would be greatly appreciated. I'm a novice coder (I usually don't write my own software but I often customize other people's to do work the way I need it to) and I really can't see what would be causing this to happen.
Cheers!