• Creator
    Topic
  • #148
    wgstjf
    Participant

    Hi there,

    I have got this plugin working for metaboxes I wish to show for a specific template but not for hiding. I cannot get metaboxes to hide. I am using the following setup, can you tell me what I am doing wrong as there aren’t any examples of hiding on your website?

    $meta_boxes[] = array(
        'id'       => 'page',
        'title'    => 'Page Details',
        'pages'    => array( 'page'),
        'context'  => 'normal',
        'priority' => 'low',
            'hide'  => array (
            'relation' => 'OR',
            'template' => array('page-templates/frontpage.php'),
        ),
Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #152
    Anh Tran
    Keymaster

    Hi,

    It’s a mistyping bug in the plugin. It’s just updated, please re-download the plugin (with the same link in your email or in forum profile).

    Thank you for letting me know the bug.

    #153
    wgstjf
    Participant

    Working perfectly now, thanks for the update!

    All the best,

    Will

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem hiding metabox’ is closed to new replies.