510 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+4 more
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
  • Has been part of the Envato Community for over 4 years
  • Has referred 10+ members
  • Has sold $250,000+ on Envato Market
  • Has collected 10+ items on Envato Market
+2 more
FlexiPress says
510 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+4 more
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.

263 posts
  • Has referred 10+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Had an item featured on Envato Market
+3 more
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
  • Has been part of the Envato Community for over 4 years
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+4 more
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

263 posts
  • Has referred 10+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Had an item featured on Envato Market
+3 more
MushinDesign says

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

510 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+4 more
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
  • Has been part of the Envato Community for over 4 years
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+4 more
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
  • Has been part of the Envato Community for over 4 years
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+4 more
pxt says

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

263 posts
  • Has referred 10+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Had an item featured on Envato Market
+3 more
MushinDesign says

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

by
by
by
by
by
by