How to Remove Wordpress Admin Menu Items for Specific Users?

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ต.ค. 2024
  • If you need to know how to remove Wordpress admin menu items for specific users or specific user roles then you’re in the right place. In this tutorial I’m going to show you how to do that without any plugin.
    All the code snippets shown in the video are here: wpsimplehacks....
    See also these videos:
    How to Create Custom Wordpress Admin Dashboard for Your Clients? • How to Create Custom W...
    How to Setup Wordpress Knowledge Base with Live Search for Free? • How to Setup Wordpress...
    Blocksy and Kadence are currently two of the best WordPress themes. So, if you’re interested, then you can grab:
    🅱️ Blocksy theme wpsimplehacks.... (SAVE 10% Coupon WPSH10)
    🔵 Kadence theme here: wpsimplehacks.... (SAVE 10% Coupon SIMPLEHACKS)
    ✅ If you want to be the first to be notified about the new tutorials then please subscribe to this channel. / @wpsimplehacks
    ✅ BEST WORDPRESS THEMES:
    Blocksy theme: wpsimplehacks.... (SAVE 10% Coupon WPSH10)
    Kadence Theme: wpsimplehacks.... (SAVE 10% Coupon SIMPLEHACKS)
    Astra Theme: wpsimplehacks....
    GeneratePress: wpsimplehacks....
    OceanWP: wpsimplehacks.... (SAVE 10% Coupon WPSH10)
    ✅ MY FAVOURITE WEBHOSTING PROVIDERS:
    Verpex Hosting wpsimplehacks....
    A2 hosting wpsimplehacks....
    Cloudways wpsimplehacks....
    ✅ AWESOME WORDPRESS PLUGINS:
    WPCodeBox wpsimplehacks.... (SAVE 20% Coupon WPSH20)
    WooLentor Elementor/Gutenberg add-on wpsimplehacks.... (SAVE 20% Coupon WPSH20)
    Best Wordpress Backup, Migration and Staging plugin - WpVivid Pro wpsimplehacks.... (SAVE 20% Coupon WPSH20)
    Best Gutenberg Blocks addon - Kadence Blocks wpsimplehacks.... (SAVE 10% Coupon SIMPLEHACKS)
    Best forms plugin - Fluent Forms: wpsimplehacks.... (SAVE 20% Coupon: WPSH20)
    Best events calendar and ticket selling plugin - WP Eventin wpsimplehacks.... (SAVE 20% Coupon: WPSH20)
    Best for email marketing - Fluent CRM: wpsimplehacks.... (SAVE 20% Coupon: WPSH20)
    WP Social Ninja wpsimplehacks.... (SAVE 20% Coupon: WPSH20)
    Best for creating tables - Ninja Tables wpsimplehacks.... (SAVE 20% Coupon: WPSH20)
    Best Wordpress LMS - Tutor LMS wpsimplehacks.... (SAVE 20% Coupon thmwelcome20)
    ✅ AWESOME WOOOCOMMERCE EXTENSIONS:
    Best Woocommerce Swiss Knife tool - Kadence WooExtras wpsimplehacks.... (SAVE 10% Coupon SIMPLEHACKS)
    Advanced Dynamic Pricing Pro wpsimplehacks.... (SAVE 20% Coupon: WPSH20)
    Phone orders For Woocommerce Pro wpsimplehacks.... (SAVE 20% coupon: WPSH20)
    Advanced Orders Export Pro wpsimplehacks.... (SAVE 20% coupon: WPSH20)
    Best Woocommerce sidecart plugin - Woocommerce Cart in One wpsimplehacks....

ความคิดเห็น • 47

  • @ramjisanmukhiya4838
    @ramjisanmukhiya4838 3 ปีที่แล้ว +2

    You are simple amazing ,,... You are giving golden knowledge which is priceless !!!!. Thanks for your tips and lessons

  • @krs1476
    @krs1476 ปีที่แล้ว

    This plus the website with code helped a ton! Thank you!

  • @visualmodo
    @visualmodo 3 ปีที่แล้ว +1

    Excellent WordPress tips!

  • @stillready6405
    @stillready6405 2 ปีที่แล้ว

    You have very high quality videos + website. Subscribed!

  • @digwillhachi
    @digwillhachi 3 ปีที่แล้ว

    this is gold, thank you. Much prefer to do with out a plugin.

  • @senpow
    @senpow 3 ปีที่แล้ว

    WoW! Sooooo practical tips and very insightful!!!

  • @lmnvl
    @lmnvl 4 หลายเดือนก่อน

    great video, thanks

    • @wpsimplehacks
      @wpsimplehacks  3 หลายเดือนก่อน

      Glad you liked it! 🙂

  • @글집자
    @글집자 6 หลายเดือนก่อน +1

    awesome IF i know the code exactly with this video~ , Then I don,t have to buy admin plugin.!!

  • @phuochoang8520
    @phuochoang8520 2 ปีที่แล้ว

    geat video, thank you . this is very helpful for me 👍

  • @paulcalebayibaemiotokolo
    @paulcalebayibaemiotokolo 3 ปีที่แล้ว

    very helpful

  • @lihuaizhi
    @lihuaizhi 3 ปีที่แล้ว

    *I am the earliest subscriber*

    • @wpsimplehacks
      @wpsimplehacks  3 ปีที่แล้ว

      Thank you for keeping up with me :)

  • @Geirunaka
    @Geirunaka 2 ปีที่แล้ว

    Thank you!

  • @steliodj
    @steliodj 2 ปีที่แล้ว

    Hi there, thank you so much for all the tutorials, how about if you want to hide the Admin menus and the Admin bar menus for everyone except a specific user ?

    • @wpsimplehacks
      @wpsimplehacks  2 ปีที่แล้ว

      Sorry, can’t help with that at the moment. See whether Stackoverflow has a snippet for that.

  • @kalkidangezahegn5733
    @kalkidangezahegn5733 3 ปีที่แล้ว

    hey Thanks for the tips, I learned a lot from this video, I just have one question.... how can I hide items under new-content on Admin Bar .... like Post, Media..... Thanks again

    • @wpsimplehacks
      @wpsimplehacks  3 ปีที่แล้ว

      Did you see this post I mentioned in the video? wpsimplehacks.com/how-to-remove-wordpress-admin-menu-items
      See the last chapter about admin bars and see whether this helps you out.

  • @小馬王
    @小馬王 2 ปีที่แล้ว

    Great video!! I always learn a lot from your video!!
    Here is one question I want to ask.
    About the "Remove WordPress Admin Menu Items for Specific User Roles"
    I create user role slug as "site_admin" for them. Foe example that I create a site_admin role named "Boss".
    How I make sure that it is still the same "site_admin" level when Boss create another admin?
    In this way no one can access to my level. Is this possible?

    • @wpsimplehacks
      @wpsimplehacks  2 ปีที่แล้ว

      Clone site_admin role and give it a name Boss

  • @xnwebdesign1024
    @xnwebdesign1024 2 ปีที่แล้ว

    Nice video. Do you know, why Code Snippetsν
    removed from wordpress;

    • @wpsimplehacks
      @wpsimplehacks  2 ปีที่แล้ว

      See this thread wordpress.org/support/topic/pending-a-full-review/#post-15618659

  • @edgaraseskis8446
    @edgaraseskis8446 2 ปีที่แล้ว

    Great video, thanks! But I am struggling to remove Woocommerce submenus, Analytics and Marketing, maybe you have some advice ?

    • @wpsimplehacks
      @wpsimplehacks  2 ปีที่แล้ว

      How about this one here wpsimplehacks.com/how-to-remove-wordpress-admin-menu-items/#how-to-remove-wooocommerce-marketing-menu

  • @digwillhachi
    @digwillhachi 3 ปีที่แล้ว

    to clone the editor role would you use the same code and just swap administrator for editor in the code?

  • @this_mfr
    @this_mfr 2 ปีที่แล้ว

    Having issues removing certain Plugin menus (Simply Gallery, AE Templates, and Jetpack). I've taken the end of the URL and placed them in the 'remove_menu_page ( ' ' );' sections of code but it doesn't remove them.
    Any ideas?

    • @wpsimplehacks
      @wpsimplehacks  2 ปีที่แล้ว

      Nope, because I have no expreience with these plugins. Maybe try to ask their support about it?

  • @Ivan-uy9oe
    @Ivan-uy9oe 3 ปีที่แล้ว

    thanx

  • @rhid9292
    @rhid9292 3 ปีที่แล้ว

    hi sir.. i cant't remove marketing menu,..... i have add " wc-admin&path=/marketing" but still show it

    • @wpsimplehacks
      @wpsimplehacks  3 ปีที่แล้ว

      Google is your friend ☺️ cinchws.com/remove-woocommerce-marketing-hub-menu-item/

  • @andresilvapf1980
    @andresilvapf1980 3 ปีที่แล้ว

    Hi thanks for this video, question: If typo complete URL at browser URL field does item will load? I guess yes. Which means even hide menu, the smart user can take URL and type on there and get access. Did you make this test?

    • @wpsimplehacks
      @wpsimplehacks  3 ปีที่แล้ว +1

      This method only hides menus. It does not revoke the access. If you need to revoke the access then use Member plugin on tweak role capabilities. Somewhere in the video I'm showing how to do that.

    • @andresilvapf1980
      @andresilvapf1980 3 ปีที่แล้ว

      @@wpsimplehacks Thanks for this confirmation.

  • @razakahmad12
    @razakahmad12 2 หลายเดือนก่อน

    • @wpsimplehacks
      @wpsimplehacks  2 หลายเดือนก่อน

      🙂🙂🙂🙂