This topic has 11 replies, 3 voices, and was last updated 9 years, 11 months ago ago by Eva Kemp
I would like to make some changes to theme-functions.php
I want to translate “related posts” under a blogpost in something else.
I want to translate “more details” when I hover a blogpost in related posts in something else.
I want to translate “view large” and “more details” on the frontpage blog grid in something else.
When I do this I get white screens in the backend.
How do fix this?
How can I make these translations?
Hello,
You can translate those words in .po file as described in our documentation:
https://www.8theme.com/demo/docs/royal/#!/1_how_to_translate
Thank you.
Regards,
Eva Kemp.
I followed instructions but I can’t get the translations to work.
Can I translate directly in the theme files?
I just want to change the title “Related posts” and the “More details” button in related posts.
Ignore reply above.
I installed poedit and made changes in default.po + generated a default.mo again.
When I reupload these the changes won’t show.
Did I forget something?
What is the default language?
AHA! I found the problem I think. I was checking in the wrong place.
The translations work everywhere but not on the homepage grid.
“View large” & “More details” remain in English.
How do I fix this?
Final update. I found the problem, now I just need the solution 🙂
In theme-functions.php under Posts Teaser Grid I found this code:
<div class=”zoom”>
<div class=”btn_group”>
<span>View large</span>
<span>More details</span>
</div>
<i class=”bg”></i>
</div>
I assume that this is why the po mo translations don’t work on the frontpage.
But when I make changes to the <span> I get whitescreens in the WordPress admin.
How can I fix this?
Hello,
Please provide us with wp-admin panel and FTP credentials in Private Content.
Please write the translation you want to use.
Thank you.
Regards,
Eva Kemp.
Here you go!
Hello,
I’ve made changes in your site. Now it’s translated. Check it.
Regards,
Robert Hall.
Thank you!
Hello,
You’re welcome.
Regards,
Eva Kemp.
The issue related to '‘Whitescreens when making changes in theme-functions.php’' has been successfully resolved, and the topic is now closed for further responses