I dont get it. > Subnav

  • Unknown's avatar

    i dunno what i did wrong. My Subnav is working EXCEPT that allways iam clickin on a link, the wohle Subnav dissapear. Whats wrong?

    <div id="subnavigation">
    <?php if (category_has_children() && !is_home() && !is_search() && !is_page()) { ?>

      <?php if (!empty($parentcat)) { ?>
      <?php if (wp_list_categories('orderby=order&title_li=&depth=1&echo=0&child_of='.$parentcat)) { ?>
      <?php wp_list_categories('orderby=order&title_li=&depth=1&child_of='.$parentcat); ?>
      <?php } ?>
      <?php } else { ?>
      <?php if (wp_list_categories('orderby=order&title_li=&depth=1&echo=0&child_of='.$currentcat)) { ?>
      <?php wp_list_categories('orderby=order&title_li=&depth=1&child_of='.$currentcat); ?>
      <?php } ?>
      <?php } ?>

    <div class="clear"></div>

    Thx 4 help

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Since you seem to be working with the php code which can’t be done on WordPress.COM:

    The site you are asking about does not seem to be hosted on WordPress.COM so you need to make friends over at WordPress.ORG the keepers of the software you are using.

    https://en.forums.wordpress.com/topic/7-things-to-know-before-posting-in-wordpresscom-forums?replies=1

    This site is for support of sites hosted on WordPress.COM. You should address your questions to WordPress.ORG the keepers of the software you are using: http://wordpress.org/support/

    For more on the difference: http://support.wordpress.com/com-vs-org/

  • The topic ‘I dont get it. > Subnav’ is closed to new replies.