@beltan: First you will need to create a child theme. If you do not know how to create a child theme you can Generate Child Theme Plugin. Install and Activate the plugin.
Go to => Dashboard => Generate Child Theme => Select Parent Theme as Foodie World Pro and fill other fields and Click Generate.
This will generate and active the child theme.
Now, Go to => Child Theme Folder => functions.php and add the following Code.
function foodie_world_header_title() {
if ( is_front_page() ) {
echo wp_kses_post( get_theme_mod( 'foodie_world_header_media_title' ) );
} elseif ( is_singular() ) {
the_title();
} elseif ( is_404() ) {
esc_html_e( 'Oops! That page can’t be found.', 'foodie-world-pro' );
} elseif ( is_search() ) {
/* translators: %s: search query. */
printf( esc_html__( 'Search Results for: %s', 'foodie-world-pro' ), '<span>' . get_search_query() . '</span>' );
} elseif( class_exists( 'WooCommerce' ) && is_woocommerce() ) {
woocommerce_page_title();
} else {
echo 'Recipes';
}
}
Let me know if this works out!
Kind Regards,
Skandha