If you want to add some option pages to the theme admin panel you need to extend the option array in includesadminregister-admin-options.php. Otherwise I’d suggest to study the wordpress codex: http://codex.wordpress.org/Administration_Menus
Regarding to this, I am creating my own Angular child theme, and I think it would be nice to have some hooks in order to be able to add elements to the $avia_pages and $avia_elements arrays before creating the admin pages.
Right now, everything is inside this private function _create_option_arrays, and it would be nice if I could alter the admin options from my child theme without changing any of the original files from the parent theme.
The topic ‘How to add a subpage’ is closed to new replies.