Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #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
    Thanks

    #635795

    Hey 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,
    Vinay

    #635805

    Thank you … but still not wrking :(

    #635832

    Hi,
    look, I want to disable this two tabs from the theme options:
    http://deteens.prodesigncastello.com/wp-content/uploads/2016/05/disable.jpg

    #635857

    Hi,

    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 7 years, 11 months ago by Vinay.
    #635870

    Hi,
    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 sorry

    #635876

    It,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)

    #635906

    Hey!

    Please add following code to Functions.php file in Appearance > Editor

    add_theme_support('avia_disable_dummy_import');

    Best regards,
    Yigit

    #639193

    Does 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.
    Thanks

    #639650

    Hi,

    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,
    Ismael

    #639735

    Thanks :)))) it´s working … this code it´s working Thanks

    #640083

    Hi,

    Great, glad we could help :-)

    Thanks,
    Rikard

    #678702

    that worked well. thanks
    the entries are still accessible via the admin top bar (see image below)
    admin bar
    how can I remove the entries there?
    thank you

    • This reply was modified 7 years, 8 months ago by vernontrent.
    #678881

    Hi,

    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

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.