-
AuthorPosts
-
May 20, 2016 at 9:25 am #635786
Hi,
How do I disable or remove the import dummy data button? I tried everything:
– to add this add_theme_support(‘avia_disable_dummy_import’); but not working
– the file register-admin-options.php looks different than 2012 edition so the line 25 is not the same
Help me please to disable the demo import button from the theme options
ThanksMay 20, 2016 at 9:42 am #635795Hey teotaban,
As i understand you like to disable the “Import Demo” option in backend correct?
You need to add the below css in wp-content/themes/enfold/framework/css/avia_admin.css
.wp-admin .avia_options_page_sidebar .avia_sidebar_content div:nth-child(12) { display: none !important; }
Best regards,
VinayMay 20, 2016 at 10:15 am #635805Thank you … but still not wrking :(
May 20, 2016 at 11:42 am #635832Hi,
look, I want to disable this two tabs from the theme options:
http://deteens.prodesigncastello.com/wp-content/uploads/2016/05/disable.jpgMay 20, 2016 at 12:44 pm #635857Hi,
Please add it to the bottom of the avia_admin.css and it works i have tested on my installation please see screenshot below.
Please note every time the theme is updated you need need to add this code back.
.wp-admin .avia_options_page_sidebar .avia_sidebar_content div:nth-child(12) { display: none !important; } .wp-admin .avia_options_page_sidebar .avia_sidebar_content div:nth-child(14) { display: none !important; } .wp-admin #avia_demo, .wp-admin #avia_update { display: none !important; }
Best regards,
Vinay- This reply was modified 8 years, 7 months ago by Vinay.
May 20, 2016 at 1:00 pm #635870Hi,
I am so sorry but still not working :(
… where I have to insert this code, in the end of the page avia_admin.css or in special line?
If you want I can send you a screen shot to show that it´s still not working :(
I am so sorryMay 20, 2016 at 1:17 pm #635876It,s working but: the buttons update, import demo and reset all are still there. The buttons reset all remain active in both tabs (import demo and update theme)
May 20, 2016 at 2:36 pm #635906Hey!
Please add following code to Functions.php file in Appearance > Editor
add_theme_support('avia_disable_dummy_import');
Best regards,
YigitMay 27, 2016 at 9:51 am #639193Does not work 100% :).
Look at this print screen: Still have those buttons DEMO IMPORT & THEME UPDATE, and every of this keep another RESET ALL OPTIONS BUTTON witch is not what I want.
ThanksMay 28, 2016 at 4:42 am #639650Hi,
Thank you for the info. Please add this in the functions.php file:
// remove theme options panel function admin_head_mod() { echo '<style type="text/css">.avia_section_header.goto_demo, .avia_section_header.goto_upload, .avia_section_header.goto_update{display: none !important;}</style>'; } add_action('admin_head', 'admin_head_mod');
Best regards,
IsmaelMay 28, 2016 at 11:05 am #639735Thanks :)))) it´s working … this code it´s working Thanks
May 30, 2016 at 4:28 am #640083August 28, 2016 at 11:13 pm #678702that worked well. thanks
the entries are still accessible via the admin top bar (see image below)
how can I remove the entries there?
thank you- This reply was modified 8 years, 3 months ago by vernontrent.
August 29, 2016 at 1:51 pm #678881Hi,
We need to take a closer look Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
Login credentials include:
- The URL to the login screen.
- A valid username (with full administration capabilities).
- As well as a password for that username.
- permission to deactivate plugins if necessary.
Best regards,
Vinay -
AuthorPosts
- You must be logged in to reply to this topic.