WpCode.net

Daily Wordpress Code Snippet

How to Hide a custom field value

| 0 comments

Pin It

This cool snippet will help you to hide a custom field in your template, add it to your wordpress function.php file Continue reading

add_action( 'admin_head', 'showhiddencustomfields' );
function showhiddencustomfields() {
	echo "<style type='text/css'>#postcustom .hidden { display: table-row; }</style>\n";
}

Leave a Reply

Required fields are marked *.

*