Home › Forums › Support › [FEATURE REQUEST] Elements to target child pages This topic has 4 replies, 3 voices, and was last updated 3 years, 3 months ago by Leo. Viewing 5 posts - 1 through 5 (of 5 total) Author Posts January 15, 2021 at 6:12 am #1619881 Fabien Hi, It would be great to be able (without a function) to target child pages (ancestors) using elements. Beaver Builder / Themer has this feature : https://share.getcloudapp.com/7Kub5KGo Thanks ! Fabien January 15, 2021 at 7:07 am #1620117 DavidStaff Customer Support Hi there, we agree … it is something we are looking into 🙂 January 15, 2021 at 7:37 am #1620158 Fabien Awesome ! January 15, 2021 at 9:04 am #1620312 Fabien One more question, as the feature is not here yet. I am using the following function to display a right sidebar on my child pages : add_filter( 'generate_block_element_display', function( $display, $element_id ) { global $post; if ( 1560 === $element_id && (( is_page() && 932 == $post->post_parent )|| is_page(932) ) ) { $display = true; } return $display; }, 10, 2 ); It works well, however the CSS related to the block is not always generated… January 15, 2021 at 11:14 am #1620464 LeoStaff Customer Support Sorry what is the CSS you are referring to here? Something you’ve added? Author Posts Viewing 5 posts - 1 through 5 (of 5 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In