Hi Support,
how can I change “Related Posts” into “Related News” in single blog page?
Many thanks 🙂
This topic has 5 replies, 4 voices, and was last updated 10 months, 3 weeks ago ago by Andrew Mitchell
Hi Support,
how can I change “Related Posts” into “Related News” in single blog page?
Many thanks 🙂
Hello, @Mirko,
Thank you for using our theme and for contacting us.
We appreciate you contacting us with your inquiry. We understand that you wish to modify the title on the Single Blog Page from “Related Posts” to “Related News”
We can offer a viable workaround by utilizing the Loco Translate plugin, which allows for the translation or modification of text strings within the theme.
You can find the plugin here:
https://wordpress.org/plugins/loco-translate/
For detailed guidance on how to implement this change, please refer to our theme documentation:
https://www.8theme.com/documentation/xstore/theme-translation/base-theme-translation/
After installing the loco translate plugin > Please navigate to Loco > Themes > XStore > find Related post, change it as per your requirement, and save settings.
Please see the images for reference in the private content area.
Should you require any further assistance or have additional questions, please do not hesitate to reach out to us.
Best regards,
The 8Themes Team
Thanks, any chances to do it by code?
Hi @Mirko,
Please try adding this custom code under functions.php file locates in your child theme:
function n2t_text_strings( $translated_text, $text, $domain ) {
switch ( $translated_text ) {
case 'Related posts' :
$translated_text = 'Related News';
break;
}
return $translated_text;
}
add_filter( 'gettext', 'n2t_text_strings', 20, 3 );
Hope it helps!
Dear Mirko,
We trust our theme is enhancing your experience. Taking a brief moment to rate it with a glowing 5 stars on ThemeForest would be immensely appreciated. Your feedback holds significant value for us.
Click here to rate now: https://themeforest.net/downloads
Thank you sincerely for your ongoing support!
Best Regards,
The 8Theme Team
The issue related to '‘change “Related post” in single blog page’' has been successfully resolved, and the topic is now closed for further responses