Created
September 7, 2013 22:39
-
-
Save rohmann/6480021 to your computer and use it in GitHub Desktop.
Some CSS to hide the Site URL and Home URL from the Wordpress settings page. http://git.io/fFVxOA
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_action('admin_head', 'custom_admin_css'); | |
function custom_admin_css() { ?> | |
<style> | |
label[for=siteurl], input[name=siteurl], label[for=home], input[name=home], input[name=home] + p.description { | |
display: none; | |
} | |
</style> | |
<?php | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This can be placed in at theme's functions.php or within a plugin.
For quick implementation without coding, use these steps: