To check a Page by ID for that Page or its direct descendants (sub/child pages) Usage: if ( is_tree( 645 ) ) {} or to check by ID or slug or title: Usage: if ( is_child( 645 ) ) {} or if ( is_child( ‘Services’ ) ) {} or if ( is_child( ‘our-services’ ) ) […]
Recent Comments