Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #550798

    Hi Team Enfold,

    I have seen Ismael’s great suggestion on how to remove the Theme Options links from the wp-admin toolbar located here: https://kriesi.at/support/topic/disable-theme-setting-area-in-cms-for-specific-users-admin/ but I do not know if it is because that was for an old version of enfold or what, but it is not working for me. It is removed from the front end, but anyone with an administrator account still sees it from the back end. Can you try it yourself and see? There must be a way to hide it in the admin back end as well, not just the front end. Its wp-admin does not read what is in custom.css Please advise. Thanks!

    #551746

    Hey mercury9 – Hopefully this is a solution for you…
    I wanted to achieve the same thing and added this to my child function file:

    function remove_my_nodes( $wp_admin_bar ) {
    $wp_admin_bar->remove_node( ‘avia’ );
    }

    Best of luck!!

    #551771

    Hi jeeves, I tried that but it did not work. I am not using a child theme. I just replace my theme functions code every time I update enfold. Do I need to alter it a little bit since I am putting it in the enfold functions and not using a child theme? Also, are you using this code in connection with Ismael’s code that removes it from the front end? Thanks for trying to help!

    #551808

    Hey!

    Please use the following

     function remove_my_nodes( $wp_admin_bar ) {
    $wp_admin_bar->remove_node( 'avia' );
    }

    make sure you code the code from the site and no your email
    Thanks a lot

    Cheers!
    Basilis

    #552158

    Thanks Basilis ,
    (apologies mercury9), I should’ve put that code in a code block!!! This code for functions file is all you need in this case – you don’t need any css ‘display:none’ attributes as Ismael was suggesting as they don’t affect the backend view.
    You can place that code at the bottom of your core Enfold functions file here…
    wp-content/themes/enfold/functions.php
    PS – I highly recommend you convert your site to using a child theme. You can create a basic child theme, switch to it and then use the facility in Enfold Theme options under ‘Import/Export’ to import your Parent Theme Settings. I’ve not done it for a long time, but it brings pretty much everything over, You may have to reconfigure your widgets and a few other settings, but the pay off is a small amount of pain now, for ease of updating later on. Obviously, make a restorable backup of the site before doing any of this – even if it’s to simply have a version you can copy your site settings from.

    #552835

    Hi,

    Thanks for the input @jeeves, couldn’t agree more about using a child theme: http://kriesi.at/documentation/enfold/portfolio-item/create-a-child-theme/

    Please let us know if you should need any further help @mercury9

    Best regards,
    Rikard

    #1062823

    how can we do the same thing for the dashboard link(left sidemenu) ? what is the node name for it?

    #1062984

    Hi,

    I’m not sure what exactly you are trying to refer to? please upload a screenshot/mockup to one of the below sites and share the link here so we can help you better :)

    https://snag.gy/
    https://ctrlv.cz/en/
    https://imgur.com

    Best regards,
    Vinay

    #1063224

    You can see the link from here:
    https://imgur.com/a/iHnPlYA
    I want to remove the “Enfold” link, same way (remove node) without using css.

    • This reply was modified 5 years, 9 months ago by amrod1.
    #1064986

    Hi amrod1,

    Here is a thread for you to consider
    https://www.quora.com/How-do-I-change-and-or-hide-the-name-of-a-WordPress-theme-from-a-page-source

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #1065032

    Hi Victoria
    Thank you for the reply but that is not I want.
    I want to remove the “Theme Options” link in the admin bar + “Enfold Child” link on the dashboard menu
    https://imgur.com/a/iHnPlYA
    And I dont want to use simple css “display:none” code to do this.

    #1065611

    Hi amrod1,

    You might want to check the WordPress forums on how to hide the theme link or customize the dashboard menu.

    If you need further assistance please let us know.
    Best regards,
    Victoria

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