WordPress.org

Ready to get started?Download WordPress

Forums

Big problem whit the category links (7 posts)

  1. marco7
    Member
    Posted 4 years ago #

    Hello guys, i'm writing to you because i have a big problem with the categories of my wordpress. I hope i'm writing in the right place, because is my first post here.

    So.. I removed from my sidebar the tag <?php wp_list_cats(); ?> to change it with single direct links to the categories.
    Now the problem is: with internet explorer all is working great, but with firefox is not the same. Sometimes is working and sometimes not. maybe 2-3 clicks are ok, and other 3-4 clicks are not working. When is not working, there are two different kind of situations:
    1. messagge error from the browser
    2. open another category different by the link i clicked

    I tried with the classic theme and is the same, i tried with all the plugins deactivated and is the same, i tried to cancel the htaccess and let wordpress rewrote it and is the same. I don't have any ideas for what doing at all.

    Please help me!

    PS. With the nokia 5900 and iphone browsers instead, the links are never working

    Thank you

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    What are you using to generate the category links? Did the theme work with <?php wp_list_cats(); ?>? Only that's an old tag which should be replaced with <?php wp_list_categories(); ?>.

  3. marco7
    Member
    Posted 4 years ago #

    Yes my theme works with the first tag, but i think is not important, isn't it? Because i'm not using that tag to generate the category links but i generate my categories manually with direct links like href.

    Thank you

  4. esmi
    Forum Moderator
    Posted 4 years ago #

    And what links are you using? Remember that WordPress doesn't use relative urls.

  5. marco7
    Member
    Posted 4 years ago #

    direct links like < a href="http://www.mywebsite.it/category-prefix/my-category">

    is there something wrong?

  6. esmi
    Forum Moderator
    Posted 4 years ago #

    Why not just use wp_list_categories?

  7. marco7
    Member
    Posted 4 years ago #

    Because i don't use the simple href, but the onmouseover/onmouseout too with some images in place of the simple letters.
    But i have the same problem with a normal link to a page that use a template made by myself to show the last 30 articles published. Are the only links that don't work, and that page has the same logic of a category in fact

Topic Closed

This topic has been closed to new replies.

About this Topic