Hi PixArt, sorry for late reply. I've just back from honeymoon.
In latest version of Meta Box Show/Hide, there's a new option input_value
, which allows us to show/hide meta boxes based on value of an input (select dropdown, checkbox, etc.). You can use that to show/hide meta boxes when it's a parent/child page, like this:
'input_value' => array(
'#parent_id' => '', // For child page
// '#parent_id' => 227, // For parent page, where 227 is parent page ID
)
Please let me know if it works for you.