Hi folks,
I was wondering if there is any simple and easy way of removing “Import Parent Theme Settings” button from my Enfold Child theme main settings in a similar fashion as explainded here: <http://kriesi.at/documentation/enfold/remove-the-import-dummy-data-button/>
Straight to the point in other words, what is the function should I write into my child theme’s functions.php file in order to remove the “Import Parent Theme Settings” button from main theme settings?
Many thanks!
Angelo
Hey Angelo!
Try with this:
function remove_parent_import() {
echo '<style>#avia_parent_setting_import { display: none !important; } </style>';
}
add_action('admin_head', 'remove_parent_import');
Regards,
Josue
Hey Josue,
Your tip did the trick, precisely!
Superb support!
Many thanks!
Angelo
You are welcome Angelo, always glad to help :)
Regards,
Josue