Tagged: multisite
Guys,
I have a new idea I am working on and want to leverage enfold in a multi site environment. I have a couple things I wanted to remove from sub-sites as not to confuse a customer in the theme settings. I want to hide these on the child sites but not the main site as I want to keep my version up to date. I am not sure how to hide them from my customers but have access to them myself.
1. How would I remove the “Demo Import” section.
2. How would I remove the “Import/Export” section.
3. How would I remove the “Theme Update” section.
Hey Jason!
Please go to Enfold/includes/admin folder and open register-admin-options.php file and find
if(!current_theme_supports('avia_disable_import_export')){
$avia_pages[] = array( 'slug' => 'demo', 'parent'=>'avia', 'icon'=>"doc_text_image.png", 'title' => __('Demo Import', 'avia_framework'));
$avia_pages[] = array( 'slug' => 'upload', 'parent'=>'avia', 'icon'=>"import_export.png", 'title' => __('Import/Export', 'avia_framework'));
}
and comment it out using // as following
//if(!current_theme_supports('avia_disable_import_export')){
// $avia_pages[] = array( 'slug' => 'demo', 'parent'=>'avia', 'icon'=>"doc_text_image.png", 'title' => __('Demo Import', //'avia_framework'));
// $avia_pages[] = array( 'slug' => 'upload', 'parent'=>'avia', 'icon'=>"import_export.png", 'title' => __('Import/Export', //'avia_framework'));
//}
Best regards,
Yigit