0

If I go to wp-admin and add a page, that page appears under Appearance->Menus->pages. How can I add the same link under pages without adding a page? By PHP of course.

I know how to add an item to the menu through wp_nav_menu_items but what I need is adding to the options available on Appearance->Menu->pages so if they users want to add it otherwise it stays there as an option.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.