I'm new to wordpress and I need your help to create a simple plugin.
So I want to build a plugin that will replace the menu of a theme and use the one that I've build, but I want to be able to add the menu links using the "Menus" option from "Appearance" tab.
I only need you to provide me the function to replace the theme's menu and set the id and class of my menu and only show the links that are added to the "Menus" page.
I thinks that I need to use the "wp_nav_menu" but I don't know how to replace the current theme menu and load mine with the class and id in order to style it.
I hope that someone can help me, thank you.