简体   繁体   中英

Wordpress - Home link is not working on blog page

I've just setup a menu in Wordpress, when I navigate to the page http://agilisaexpress.com.br/blog/ , if I click the Home link or the Logo's link, it won't redirect to the home page. In the status bar it displays the full site url, I don't know what's going on. The Home link works in any page, except on the Blog page.

Doing my homework, found out that the conflict is being generated by javascript. The class .header calls the following code:

$('a.header').click(function() {
    $('html, body').animate({ scrollTop:$('#header').offset().top - '80'}, 1000, function() {
        scrollingfn();
    });
    return false;
});

So if I add a jQuery noconflict, it might solve the problem?

可能是由于 javascript 错误导致进入主页。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM