WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Problem with navigation menu (3 posts)

  1. smd10
    Member
    Posted 10 months ago #

    Hi

    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?

    Thanks

  2. esmi
    Forum Moderator
    Posted 10 months ago #

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

  3. smd10
    Member
    Posted 10 months 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.

    Thanks

Reply

You must log in to post.

About this Topic