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

admin2025-05-27  6

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

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1748347193a313598.html

最新回复(0)