[resolved] Problem with navigation menu (3 posts)

  1. smd10
    Posted 1 year ago #


    I am having a problem with the links generated using wp_nav_menu().

    For some reason, if you are on a page that is linked in the menu the href attribute equals "./" instead of "http://example.com/about/" which is more of a preferable output.

    Can anyone shed some light on why this is happening?


  2. esmi
    Forum Moderator
    Posted 1 year ago #

    Can you post a link to a page demonstrating this in the default 2013 theme with all plugins deactivated?

  3. smd10
    Posted 1 year ago #

    Hi esmi

    I forgot to mention that it was running locally on wampserver.

    I have done some tests and it appears it was a plugin called WP HTML Compression that was causing the issue with the theme.

    I will raise the issue with the plugin author.


Topic Closed

This topic has been closed to new replies.

About this Topic