510 posts
  • Beta Tester
  • Bought between 10 and 49 items
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Has been a member for 4-5 years
  • Microlancer Beta Tester
  • Referred between 1 and 9 users
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 1 000 and 5 000 dollars
pxt says

Hi there,

I’m just starting out using Option Tree and I’ve got a few questions:
  • What’s the best way to change the OptionTree label and name in the wp-admin sidebar?
  • How do I hide the Settings and Documentations menus when I integrate it into my theme?

Thanks in advance!

147 posts
  • Bought between 10 and 49 items
  • Elite Author
  • Exclusive Author
  • Has been a member for 3-4 years
  • Referred between 10 and 49 users
  • Sold between 250 000 and 1 000 000 dollars
FlexiPress says
510 posts
  • Beta Tester
  • Bought between 10 and 49 items
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Has been a member for 4-5 years
  • Microlancer Beta Tester
  • Referred between 1 and 9 users
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 1 000 and 5 000 dollars
pxt says
PrimaThemes said
i think you can get a good start from this thread http://themeforest.net/forums/thread/converting-optiontree-into-a-framework/41472

Thanks, but I saw that the other day; it was helpful, but didn’t answer my questions.

259 posts
  • Sold between 10 000 and 50 000 dollars
  • Has been a member for 3-4 years
  • Referred between 10 and 49 users
  • United Kingdom
  • Bought between 1 and 9 items
  • Exclusive Author
MushinDesign says

To change the label you need to open up admin-interface.php and around line 28 you should see the following code

$of_page = add_submenu_page('themes.php', $themename, 'Theme Options', 'edit_theme_options', 'optionsframework','optionsframework_options_page');

Where it says Theme Options is what’s defining the name in the sidebar, just change that.

Hope this helps.

510 posts
  • Beta Tester
  • Bought between 10 and 49 items
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Has been a member for 4-5 years
  • Microlancer Beta Tester
  • Referred between 1 and 9 users
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 1 000 and 5 000 dollars
pxt says
MushinDesign said
To change the label you need to open up admin-interface.php and around line 28 you should see the following code $of_page = add_submenu_page('themes.php', $themename, 'Theme Options', 'edit_theme_options', 'optionsframework','optionsframework_options_page');

Where it says Theme Options is what’s defining the name in the sidebar, just change that.

Hope this helps.

Thanks MushinDesign

259 posts
  • Sold between 10 000 and 50 000 dollars
  • Has been a member for 3-4 years
  • Referred between 10 and 49 users
  • United Kingdom
  • Bought between 1 and 9 items
  • Exclusive Author
MushinDesign says

No worries enjoy it! My WordPress world was opened up when I discovered the Options framework :D

510 posts
  • Beta Tester
  • Bought between 10 and 49 items
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Has been a member for 4-5 years
  • Microlancer Beta Tester
  • Referred between 1 and 9 users
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 1 000 and 5 000 dollars
pxt says

Any ideas on how to hide the Settings + Documentation pages? In the changelog it is mentioned that this feature was added.

510 posts
  • Beta Tester
  • Bought between 10 and 49 items
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Has been a member for 4-5 years
  • Microlancer Beta Tester
  • Referred between 1 and 9 users
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 1 000 and 5 000 dollars
pxt says
Pexat said
Any ideas on how to hide the Settings + Documentation pages? In the changelog it is mentioned that this feature was added.

Any ideas about that?

510 posts
  • Beta Tester
  • Bought between 10 and 49 items
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Has been a member for 4-5 years
  • Microlancer Beta Tester
  • Referred between 1 and 9 users
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 1 000 and 5 000 dollars
pxt says

Sorry for bumping this, but any ideas about the last question?

259 posts
  • Sold between 10 000 and 50 000 dollars
  • Has been a member for 3-4 years
  • Referred between 10 and 49 users
  • United Kingdom
  • Bought between 1 and 9 items
  • Exclusive Author
MushinDesign says

I couldn’t find a settings and docs page in mine I’m afraid, sorry

by
by
by
by
by
by