Subsequent pages are blank
-
Hello Michael, thank you so much for all your hard work. I hope you don’t mind a few novice questions. Hopefully they will be helpful for others as well…
I’ve add multiple SubMenuItems (“pages”) as per the tutorial.
When I wish to load each one via:
public function load_first_page( $oAdminPage ) {…
public function load_second_page( $oAdminPage ) {…
public function load_third_page( $oAdminPage ) {…
etc…Only in “first_page” am I able to populate with form fields. The other pages are blank. However, I can add text to each one using the content_ callback method.
I discovered that if I add SettingSections within the setUp and specify the section_id within each page load_{page_slug} SettingFields array, that I can make the form fields appear. Why do I need sections if I am already loading separate pages? What is the logic that I am missing?
Thanks much.
- The topic ‘Subsequent pages are blank’ is closed to new replies.