Today I have come up with an very easy snippet. In WordPress you would have noticed in your profile page, there is an option to change the WordPress Dashboard Color Scheme. I bet very rarely people will use this option. So I thought to remove this option to make the profile page very simple to users.
You can remove this Color Scheme option by two ways:
Adding Code to Functions.php
Go to your theme functions.php file. And add the following code in the functions.php to remove the Admin color scheme options.
function admin_color_scheme() { global $_wp_admin_css_colors; $_wp_admin_css_colors = 0; } add_action('admin_head', 'admin_color_scheme');
Alternative
Another Alternative way to remove the admin color scheme options panel is by inserting the following code into the functions.php
if(is_admin()){ remove_action("admin_color_scheme_picker", "admin_color_scheme_picker"); }
I hope that you liked this simple snippet. I will keep posting some more tricky code hacks for WordPress soon.
Related Posts
-
September 20, 2012
Popular
Editor’s Pick
-
January 24, 2010 Page Navigation Menu Widget for Blogger
Yesterday I wrote How to add Page Navigation Menu hack by editing your blogger template. Now today I would like to use a different method to add this Page Navigation Menu to our Blogger Blog. Most Bloggers will prefer this method to add Page navigation Menu , because this method is very easy than editing…
-
July 31, 2008 Page Navigation Menu Widget for Blogger
Yesterday I wrote How to add Page Navigation Menu hack by editing your blogger template. Now today I would like to use a different method to add this Page Navigation Menu to our Blogger Blog. Most Bloggers will prefer this method to add Page navigation Menu , because this method is very easy than editing…
-
April 24, 2023 React Performance Optimization: Strategies and Techniques for Efficient Data Fetching and Management
When developing modern web applications, efficient data fetching and management are crucial for providing a seamless user experience. As the amount of data in web applications grows, optimizing data fetching and management becomes increasingly important. Overview of the importance of data fetching and management in modern web applications Data fetching refers to retrieving data from…
-
October 13, 2012 Responsive Web design Tips : #1 SCALING IMAGES
Responsive Web Design is an approach in which a designer intends to provide an optimal viewing experience. Before knowing about the concept of scaling images, let’s have a look on “Responsive Web Design”. Nowadays people want to get access to the Internet data from any place using a wide range of portable devices- desktops, laptops,…
-
April 23, 2023 Mastering the Art of Timelapse Photography: Tips and Techniques
Timelapse photography is a technique that involves capturing a series of photos over a period of time and then combining them into a video sequence to create the illusion of time passing quickly. Mastering this art can add a unique dimension to your photography skills. The importance of mastering timelapse photography lies in the fact…