Cusom Fields not enabling!
-
Hello,
I have tried everything but it seems that I cannot get the “Custom Fields” option to enable in the screen options section when I am trying to make a new post. I have made sure it is checked before a refresh and nothing happens, it won’t enable!
Then I tried inserting the following code earlier into (functions.php)from another post I read that was supposed to “change what’s hidden by default” and that didn’t work.
This is very frustrating because I am trying to set up my blog theme 3 that allows for the start of the text in the blog to show up on the intro page. you will see what I mean when you go to http://www.refstube.com nothing is showing now.
Please Help???
Thanks.
// Change what’s hidden by default
add_filter(‘default_hidden_meta_boxes’, ‘be_hidden_meta_boxes’, 10, 2);
function be_hidden_meta_boxes($hidden, $screen) {
if ( ‘post’ == $screen->base || ‘page’ == $screen->base )
$hidden = array(‘slugdiv’, ‘trackbacksdiv’, ‘postexcerpt’, ‘commentstatusdiv’, ‘commentsdiv’, ‘authordiv’, ‘revisionsdiv’);
// removed ‘postcustom’,
return $hidden;
}
The topic ‘Cusom Fields not enabling!’ is closed to new replies.