Support

Account

Forum Replies Created

  • Follow up. I’ve fixed the problem by changing line #302 in controllers/post.php from:

    $(‘#<?php echo $id; ?>’).addClass(‘<?php echo $class; ?>’).removeClass(‘hide-if-js’);

    to:

    $(‘#<?php echo $id; ?>’).addClass(‘<?php echo $class; ?>’);

    Not sure why hide-if-js was being removed. But this restored WP’s original screen options functionality without issues. ACF now honors screen options default settings and admin user-initiated settings. Thanks!

  • First, Awesome work on ACF!
    Just a Note: It looks like metaboxes aren’t honoring “Screen options” to turn on or off the metabox. While this works when the user clicks “Screen options” to hide a given metabox (jQuery toggles display:none/block), it’s not remembering the user set preferences.

    I’ve tracked the line down for you at line #714 in everything_fields.php. It looks like there is no initial style=”display: …” set. This needs to pull the user’s set value or leverage WP’s hidden_meta_boxes filter to know what the initial value is/should be.

Viewing 2 posts - 1 through 2 (of 2 total)