Hi there,
How are you currently displaying it on child and parent pages?
If you want, we can filter the hook to display on all child pages of a specific parent:
add_filter( 'generate_hook_element_display', function( $display, $element_id ) {
global $post;
if ( 123 === $element_id && ( is_page() && 456 == $post->post_parent ) ) {
$display = true;
}
return $display;
}, 10, 2 );
In the above, you just need to replace 123
with the ID of the hook you’re targeting, and 456
with the ID of the parent page.