Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I need change de native behavior of the menu. Instead menu point to URL page (www.domain.com/page-name), i need point to a anchor (#page-slug, for example). Using Menus -> Custom Links i get it, but i need do that using just code.

Besides pointing to an anchor, I need it to be the slug-page.

I need this to create a one-page-scroll-theme. Using this logic, my client would only need to create the pages and choose the order, without touching the Menu panel.

Someone can help me?

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.