最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

For a menu custom link (without a link) a "#" is appended. Can this just be blank, i.e. NO link?

programmeradmin9浏览0评论

In the WordPress menu there are Custom Links which allow for the insertion of any link you want.

But, I do not want any link there at all.

I am referring to this:

If I leave it blank then WordPress appends a "#" which when clicked pushes the user to the top of the page. Is there anyway to remove this or make the link do nothing as opposed to sending user to the top of the page?

Thanks

In the WordPress menu there are Custom Links which allow for the insertion of any link you want.

But, I do not want any link there at all.

I am referring to this:

If I leave it blank then WordPress appends a "#" which when clicked pushes the user to the top of the page. Is there anyway to remove this or make the link do nothing as opposed to sending user to the top of the page?

Thanks

Share Improve this question asked Oct 29, 2019 at 6:03 HenryHenry 9831 gold badge8 silver badges31 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

The answer is #! within the URL

发布评论

评论列表(0)

  1. 暂无评论