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 am using the Wordpress Options Framework theme but I want to be able to have the "Theme Options" link appear in the Admin UI menu as oppose to under the "Appearance" (themes, etc.) menu item.

I've tried and tried but can't for the life of my figure out how.

Any ideas?

The files are all on Github - https://github.com/devinsays/options-framework-theme

share|improve this question
    
Can you add a screenshot of where exactly the "Appearance" tab is on the dashboard? Can't find such thing. –  kaiser Apr 25 '12 at 14:29
    
It's in the main menu, "Themes", "Widgets" & "Menus" are usually found within it –  Dean Elliott Apr 25 '12 at 14:35
    
Edited your Q. Btw: Are you coding a theme that you want to sell? –  kaiser Apr 25 '12 at 14:43
    
It's not for a theme I want to sell, but it's for a theme that multiple people might use so I'd prefer the options to be instantly available –  Dean Elliott Apr 25 '12 at 14:44
1  
possible duplicate of How to create a theme option-menu page to save user values –  kaiser Apr 25 '12 at 14:44

1 Answer 1

You can add a new 'main' page to the admin menu using add_menu_page (see Codex).

The solution @Kaiser linked to provides sufficient detail on how to create a settings page. The only difference is that rather than adding a page under 'Appearance' (with add_options_page) you'll want to use add_menu_page

If this is for distribution I suggest and ask that you don't do it. It clutters up the admin menu.

share|improve this answer

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.