ThemeShaper Forums » Thematic

[closed]

Link error

(1 post)
  • Started 4 years ago by Devric
  • This topic is not resolved
  1. Devric
    Member

    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>
    <?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.

    Posted 4 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.