Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I was trying to add an option panel to my theme and followed a tutorial: How to Integrate the WordPress Media Uploader in Theme and Plugin Options. Everything's perfect until I wanted to show the "WPTuts Options" section in menu page.

When I tried to make it visible into the menu page, my upload button's not working - the iframe is not opening.

Here is the line:

Default:
add_theme_page('WPTuts Options', 'WPTuts Options', 'edit_theme_options', 'wptuts-settings', 'wptuts_admin_options_page');

What I did
add_menu_page('WPTuts Options', 'WPTuts Options', 'edit_theme_options', 'wptuts-settings', 'wptuts_admin_options_page');

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.