WordPress.org

Ready to get started?Download WordPress

Forums

Clickable categories (menu) links? (8 posts)

  1. MarketingWiki
    Member
    Posted 3 years ago #

    Hi,

    Im currently facing a problem regarding the menu on my site (http://www.marketingwiki.org). I am using the following code to show the categories:
    <?php wp_list_categories('depth=2&title_li='); ?>

    As you can see, the categories News, Google, MySpace, Blogging, Facebook isn't clickable (except if you right-click -> open in new window/tab - which is strange by the way).

    So, how can I make all my categories clickable?
    Without using the parent category function and have base & sub-categories (click at "Twitter" and "Affiliate and AdSense" for example).

    Anyone in here that knows a solution?

    Thanks in advance.

    Take care,
    /MarketingWiki

  2. Ad Lagendijk
    Member
    Posted 3 years ago #

    When I run html tidy on your site I find
    < li > problems. It might not be the solution, but you have to fix it anyway.

  3. MarketingWiki
    Member
    Posted 3 years ago #

    Hmm, how do I fix that? Hehe...

    And, anyone knows the solution to the main problem? When you have the cursor on the category, the link shows down the statusbar. But its still unclickable... Why?!

  4. Ad Lagendijk
    Member
    Posted 3 years ago #

    It is in your javascript. If I disable that it seems to work.

  5. MarketingWiki
    Member
    Posted 3 years ago #

    Ah, thank you VERY MUCH for helping me out with that part.

    Good to know whats causing it.

    So now... Anyone in here that might know a solution?

    Thanks in advance!!!

    Regards,
    MW

  6. MarketingWiki
    Member
    Posted 3 years ago #

    Hmm, I found out that if I delete either the line:
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>

    or

    <script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/application.js"></script>

    from the file: header.php, the problem is solved... And why is that..?

  7. Mark / t31os
    Moderator
    Posted 3 years ago #

    Something in one of those scripts is causing a conflict with other code, possibly(without knowing the scripts it's anyone's guess), but the first is the jQuery library and i'd guess you have plugins each trying to include it because i see another jQuery include for version 1.4 ...

    If you disable plugins you may find some of your problems vanish, if that's the case, re-enable one at a time and isolate which ones cause issues, then search for replacements or drop them all together..

  8. MarketingWiki
    Member
    Posted 3 years ago #

    Thank you for your answer.

    Tested the solution (disabling plugins) before, for my main problem without any success.
    Anyway, I deleted 1 javascript line of the two listed above, and its working.

    Will leave it like that!

    Thank you guys for hepling me out.

    /MW

Topic Closed

This topic has been closed to new replies.

About this Topic