Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the name of the menu page #30

Closed
Mte90 opened this issue Feb 16, 2016 · 4 comments
Closed

Change the name of the menu page #30

Mte90 opened this issue Feb 16, 2016 · 4 comments

Comments

@Mte90
Copy link
Contributor

Mte90 commented Feb 16, 2016

Case example:
I create a page with add_menu_page and set as name the Plugin name.
Freemius transform that menu page in a parent menu page, so in the sidebar we have the plugin name and in that a sub menu with a page with the name of the plugin name.
In my case I want that page have a different name like settings.

Actual situation:
screenshot6

What I want:
screenshot7

@vovafeldman
Copy link
Contributor

I'm not sure I understand, do you say that Freemius rename the first submenu item to the top level menu title?

Here's a plugin that uses Freemius and has the same situation, the menu item's title is RatingWidget while the first submenu item is Settings:
image

@Mte90
Copy link
Contributor Author

Mte90 commented Feb 16, 2016

Uhm because that plugin have sub menu page but my plugin have only add_menu_page like the screenshot.

@vovafeldman
Copy link
Contributor

I see. How about adding a submenu page, in addition to the page, and naming it 'Settings'. I know it doesn't make sense if not using Freemius, but in the current case, it should do the job. What do you think?

@Mte90
Copy link
Contributor Author

Mte90 commented Feb 17, 2016

Well for me is more simple do like the screenshot, rename the page on the fly with the plugin name in settings (get that value from fs_dynamic_init)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants