Add custom page link with anchor

I was searching for an answer for this but suddenly I got the idea and it works!

In the menu settings just add the anchor link just like an html link code <a href="#anchor" >titulo </a>

So with WP is the same but only adding the anchor in the field link

enter image description here

This will create the same anchor on every page to link a section which is active also en every single page, this could be a contact form, sign up, suscribe form, etc.

enter image description here

So this will be addressed like http://domain.com/postID/#sugerir

enter image description here

What happen on pages where this anchor won’t work or is not needed?

You can hide the navigation-item with css depending on each case
For me is important on every single post to link a form to suggest ideas (Sugiere un tema).

Leave a Comment