Top

Daily Tip: How to Disable Theme Changing in the WordPress Dashboard

May 4, 2010

If you want to keep your WordPress theme set as it is and make sure that your client is not able to experiment with theme changes, add this to your functions.php file:

add_action('admin_init', 'remove_theme_menus');
function remove_theme_menus() {
	global $submenu;
	unset($submenu['themes.php'][5]);
	unset($submenu['themes.php'][15]);
}

This snippet will remove Themes from the Dashboard >> Appearance menu.

Source: WPTricks.net

Tweet This Post

This theme is provided free of charge, provided you leave the "Wordpress Theme From Pressography.com" attribution link at the bottom of the theme.

If you want to remove the attribution link, you must pay a small, $10 license fee for each site on which you want to remove the link. Click Here For More Information

Comments

Got something to say?

Bottom
Article Archive  |  This site is a historical archive of pressography.com, a WordPress plugin and theme blog that published between 2006 and 2012. It is preserved for reference and is not operated by, affiliated with, or endorsed by its original authors. Nothing here is for sale and no form on this site is active. If you are the original owner and would like this domain returned, please get in touch.