how to change theme options name in dashboard?
Place where you can get help, share your ideas and discuss about Bike Store shopping Wordpress theme with WooCommerce support and plugins built for product placement.
- GK User
- Tue Feb 25, 2014 4:30 pm
I wonder if it is possible to change the admin menu name for the theme settings, i mean the one on the standard left-side dashboard menu list. Its label is the theme name (Bikestore), but I need to change it to something more intuitive, simething like "custom settings".
Best regards.
David
Best regards.
David
-
- Fresh Boarder
- GK User
- Tue Feb 25, 2014 7:57 pm
Hi,
If you want to change this menu label, you have to change theme name (BikeStore/gavern/config/template.json file)
If you want to change this menu label, you have to change theme name (BikeStore/gavern/config/template.json file)
-
- Moderator
- GK User
- Fri Feb 28, 2014 4:21 pm
Hello Piotr, thanks a lot for your answer.
Best regards!
David
Best regards!
David
-
- Fresh Boarder
- GK User
- Wed Mar 12, 2014 2:43 pm
Hello Piotr, i have tried changing the name on the above mentioned file, but this change happens to break the style of the site.
Perhaps there is another configuration that should be made?
These are the settings used:
Thanks a lot for your support.
Best regards.
David
Perhaps there is another configuration that should be made?
These are the settings used:
- Code: Select all
{
"template": {
"name": "CustomSettings",
"update_name": "gk_bikestore_wp",
"date": "13/12/2013",
"version": "1.3.1",
"description": "Responsive WordPress eCommerce theme"
},
"developer_config": {
"visibility": {
"template_options": true,
"importexport": true,
"updates": true,
"documentation": true,
"gavickpro_website": true
}
}
}
Thanks a lot for your support.
Best regards.
David
-
- Fresh Boarder
- GK User
- Wed Mar 12, 2014 4:11 pm
Hi, When you change this name, theme configuration will be lost, because it's assigned to the name, it's normal.
You can export your settings, then change the name and import again:
http://www.gavick.com/documentation/wor ... -settings/
You can export your settings, then change the name and import again:
http://www.gavick.com/documentation/wor ... -settings/
-
- Moderator
- GK User
- Thu Mar 13, 2014 1:57 pm
Hello Piotr, thanks a lot for your prompt reply.
I do the following:
1 - Export template settings
2 - Edit template.json and change line 3, template name.
3 - Try to import the exported settings ang get the following error message: Invalid file or file size too big.
If import the settings without making step 2, it runs ok.
What could be the problem?
I do the following:
1 - Export template settings
2 - Edit template.json and change line 3, template name.
3 - Try to import the exported settings ang get the following error message: Invalid file or file size too big.
If import the settings without making step 2, it runs ok.
What could be the problem?
-
- Fresh Boarder
- GK User
- Thu Mar 13, 2014 3:31 pm
Sorry, I forgot about the names in your exported file, you should change each string " _bikestore" to "_yourname", or maybe try to set options again, copy font selectors etc.
-
- Moderator
- GK User
- Fri Mar 14, 2014 2:32 pm
Hello Piotr, thanks for your answer.
I have tried changing each string _bikestore but the error message still appears.
Could you give more details about what do you mean with try to set options again, copy font selectors?
Best regards!
David
I have tried changing each string _bikestore but the error message still appears.
Could you give more details about what do you mean with try to set options again, copy font selectors?
Best regards!
David
-
- Fresh Boarder
- GK User
- Fri Mar 14, 2014 2:57 pm
Hi,
You should set options again manually, instead of importing. (in Template Options - layout, fonts, basic tabs) etc.
But unfotunately I realized, that when you change this name EVERY option is changed, so you should also set again your widget rules etc. (if you have everything set up, it's not a good idea)
You should set options again manually, instead of importing. (in Template Options - layout, fonts, basic tabs) etc.
But unfotunately I realized, that when you change this name EVERY option is changed, so you should also set again your widget rules etc. (if you have everything set up, it's not a good idea)
-
- Moderator
- GK User
- Fri Mar 14, 2014 4:50 pm
Yes, it is probably not a good idea, im going to test how it works.
Thanks a lot for your accurate support!
Best regards.
David
Thanks a lot for your accurate support!
Best regards.
David
-
- Fresh Boarder
- GK User
- Wed Mar 19, 2014 8:41 pm
I had to rename a menu item once cause it was the theme name, was a different theme supplier but this wasn't provided by them, may work for you too. Just add this to the bottom of functions.php
- Code: Select all
function rename_admin_menu_items( $menu ) {
// $menu = str_ireplace( 'original name', 'new name', $menu );
$menu = str_ireplace( 'BikeStore', 'Custom Settings', $menu );
// return $menu array
return $menu;
}
-
- Junior Boarder
11 posts
• Page 1 of 1