wired links, changes dynamicaly
-
Hi, i come up to a weird issue, look at the code below, the get_home_url and the_category(‘7’), both these changes the link dynamically,
eg:
if im in a category, cat=4, get_home_url returns the link to cat=4, and the_category(‘7’) returns the title of category4, and this behavior changes to the page according to whatever pages im in<li> <a href="<?php get_home_url(); ?>"><div class="menu">Home</div></a> <ul><?php wp_list_cats("exclude=7"); ?></ul> </li> <li> <div class="menu"><?php the_category('7'); ?></div> </li>
Anyone have any ideas how to fix it??
thank you
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘wired links, changes dynamicaly’ is closed to new replies.