I am building a plugin and I have made a single setting page that is working without any issue. Since it is becoming very long, and that it is made of 3 distinct sections, I wanted to split it in 3 subpages.
So far I managed to have the 3 pages, and to load the fields in their right page. there are some thing that I can't fix and I can't find an answer for on the codex.
I have a main page and 3 subpages, but currently the main link has it's own empty page. I would like that the clck on the main page goes to the first of the subpages, like the default behaviour of wordpress menu.
I have made 3 different settings_fields for the 3 submenu, but now when I save one, the other two sections are wiped. I want that each field keep his values unless is being changed.