Hey @wanderlust,
Did you copy the file in the same directory structure \x-child\framework\views\global\
?
Try using the gettext filter to change text in WordPress. Here’s a sample code.
add_filter( 'gettext', 'change_texts', 20, 3 );
function change_texts( $translated_text, $text, $domain ) {
if ( is_search() ) {
switch ( $translated_text ) {
case 'Nothing to Show Right Now' :
$translated_text = __( 'Nothing', '__x__' );
break;
}
}
return $translated_text;
}
Thanks.