Today I add an options panel to the Sitemap plugin. Before start coding I have to define what I want this panel to do and the data to collect.
- the max number of urls to be added to the sitemap, blank value will mean “all”
- a checkbox to enable the integration with other plugins (features I’ll explain on next lessons)
On the WordPress codex there are example on how to write an option panel. I don’t follow them, usually, seen that my panels are too much complex.