Hi
My functions adds custom menu to the header, somehow the link goes wrong, here is the code
function add_menu {
?>
<div id="menu">
-
"><div>Home</div><a/>
-
<?php wp_list_cats('exclude=7');?>
- <div id="live_button">
<?php the_category('7'); ?>
</div>
</div>
<?php
}
issue 1- the get_home_url part links becomes the current page link eg: if im in category 4, get_home_url links to cat=4
issue 2- the_category('7') also changes according to the page im in. eg: im in category 4, it displays the name of category 4 and links to category 4 instead of 7 which is what i intended to.