Blog

Disable WordPress Admin Bar for All Users Except Admin

 Disable WordPress Admin Bar for All Users Except Admin if you want Disable WordPress Admin Bar for All Users Except Admin then Paste following code in your theme’s functions.php file add_action(‘after_setup_theme’, ‘remove_admin_bar’); function remove_admin_bar() { if (!current_user_can(‘administrator’) && !is_admin()) { show_admin_bar(false); } } Disable Admin Bar for All Users If you want to disable Admin Bar for all users, …

Disable WordPress Admin Bar for All Users Except Admin Read More »

How to install lamp on ubuntu

A “LAMP” stack is a group of open source software that is typically installed together to enable a server to host dynamic websites and web apps. This term is actually an acronym which represents the Linux operating system, with the Apache web server. The site data is stored in a MySQL database, and dynamic content is processed by PHP. …

How to install lamp on ubuntu Read More »

Help-Desk