Effective Steps to Customize & Simplify the Admin Area in WordPress

commas-left

Installing some important plug-ins helps your client to manage their site easily, although he/she is unfamiliar with WordPress.

commas-right

As a novice, the WordPress backend can be confusing and overpowering, so customizing before handover to your clients is one of the best options. Looking at the dashboard, we are finding some unwanted things like unnecessary widgets like WordPress Planet that you have to remove through the admin sidebar available on the left.

It might also have sub-menus that you don’t want your clients to access. Moreover, your clients don’t have any idea about all such things added in WordPress, so it doesn’t make sense to have in their backend. There are list of plug-ins that you can customize to your admin area. Read on this article to know more.

How to Change the Default Welcome Message?

‘Howdy’ means “How Do You Do?” is a perfect greeting, however, for some clients it is not a 100% perfect. They can have an option to create more attractive message to create professional first impression.

Welcome Message

In below given image, you will see code through which you can easily edit the message that displayed in the admin bar. You can also use the TM Replace Howdy plug-in by selecting from a list of ‘humorous’ greetings or create your own custom list of greetings.

How to Simplify the Dashboard Menu?

Dashboard Menu

One of the best ways to make your WordPress dashboard more accessible is by hiding some unwanted menus items. By installing User Admin Simplifier plug-in, admin can easily hide menu items on a per user basis. It is one of the best choices for hiding items without deleting it.

Ultimate Branding Plug-in

Branding Plug-in

If you want to completely white-label WordPress to totality rebrand it, then you have Ultimate Branding plug-in from WPMU DEV. Additionally, you can simple remove all references to WordPress for eliminating the opportunities of your clients and end users, who are getting confused while using them. This plug-in also allows adding your own branding through WP from the login page through the dashboard menus.

Users can also add a custom admin bar through this plug-in with their own text and links. Even, they can easily add their own user documentation information as well. Moreover, users can also remove dashboard widgets like incoming links and QuickPress that is possible source of distraction and confusion. It is an excellent plug-ins for solving the multitude of issues while using WP to develop online solution for your clients.

White Label CMS Plug-in

White Label CMS plug-in allows adding your own logos and credit links in your WordPress website. Installing this plug-in, you can simple hide the dashboard panels and can add your own custom panels. Users can find default presets according to website/blog designed for. Even, they can hide menus as well. You can simply export and import settings as it allows keeping a default set that can be used to create a new client site.

Label CMS plug-in

How to Prevent Clients from Deactivating Important Plug-ins?

We mostly use plug-ins while installing WordPress and other functionality of site. Even, if you want to enhance functionality of site, you are using necessary plug-ins to add standard website functionality and features such as spam-bot protected display of email addresses, contact forms, etc. However, many a time, we have seen that our clients accidentally or intentionally deactivate our installed plug-ins or even, they are deleting plug-in that is must for their site.

If anyone is activating or deactivating plug-ins and you are handling such website, it is likely you are delivering all-powerful admin role to them. As a result, it increases chance that they might fiddle with the plug-ins and ‘break’ the site in some way. Now, it is possible to deactivate the deactivate button for plug-ins by putting below given code to your themes functions.php file:

1
2
3
4
5
6
7
8
9
10
11
12
13
add_filter( 'plugin_action_links', 'disable_plugin_deactivation', 10, 4 );
function disable_plugin_deactivation( $actions, $plugin_file, $plugin_data, $context ) {
 // Remove edit link for all
 if ( array_key_exists( 'edit', $actions ) )
  unset( $actions['edit'] );
 // Remove deactivate link for crucial plugins
 if ( array_key_exists( 'deactivate', $actions ) && in_array( $plugin_file, array(
  'akismet/akismet.php',
  'better-author-bio/better-author-bio.php'
 )))
  unset( $actions['deactivate'] );
 return $actions;
}

Now, you have to edit plug-in’s list to add plug-ins that you don’t want to have a deactivate button.

Deactivate Button

With this workaround, if you are not able to remove the deactivate button for a plugin, you can remove it from by deleting them from the server using an FTP client or searching out URL for deactivation of a plug-in.

How to Disable Theme Switching?

If your created site is only focusing on particular them then you have to switch the theme to see how their site might look could have terrible consequences. It is another codes that you have to add in functions.php and you will find disable menu item. In this situation, you will find your theme button in sub-menu.

Disable Theme

1
2
3
4
5
6
7
8
9
add_action( ‘admin_init’, ‘slt_lock_theme’ );
function slt_lock_theme() {
global $submenu, $userdata;
get_currentuserinfo();
if ( $userdata->ID != 1 ) {
unset( $submenu['themes.php'][5] );
unset( $submenu['themes.php'][15] );
}
}

Using this code, you can simply hide the themes sub-menu from all users except user ID 1, which is of person, who have created the site. Additionally, designers can easily edit the theme without editing the code in the fucntions.php file. If you want to hide the themes menu for all users, you can use below given code:

1
2
3
4
5
6
add_action( ‘admin_init’, ‘wplg_lock_theme’ );
function wplg_lock_theme() {
global $submenu;
unset( $submenu['themes.php'][5] );
unset( $submenu['themes.php'][15] );
}

Conclusion:

Above given tips are helpful while you are giving a completed created site to your clients. Installing some important plug-ins helps your client to manage their site easily, although he/she is unfamiliar with WordPress. If you are looking to develop WP site for your business and looking for wordpress developer to hire, who develop and operate Your Website in WordPress Platform, contact here.

trackback

Leave a Reply

Your email address will not be published. Required fields are marked *

CAPTCHA

*