Archived topic
Dev Theme Copyright
7 replies · Started by Steffen on February 10, 2021
Hi there,
i have just moved my site http://www.sniehues.com to generatepress pro using the DEV theme. I ran into one problem: Using the customizer, I have changed the copyright message which works fine in the english front page. However, when I switch to German, © 2021 GeneratePress is shown. I am pretty new to wordpress, therefore my apololgies in case this is a newbie question...
Thanks for helping
Steffen
Hi there,
are you using a Plugin for your translated content ?
For example WPML provides this method for translating the copyright:
https://wpml.org/forums/topic/translating-footer-copyright-text/
Let me know.
Hi David,
thanks for your reply. So far I did not. I am using Polylang for translation and based on your email installed Loco translate now. Have been searching for GeneratePress in the PO file and changed it to my name which did't work, so I have changed it back.
Thanks very much for helping
Steffen
Found this - one of our users provides a PHP Snippet to filter the copyright info for different languages:
https://generatepress.com/forums/topic/polylang-and-footer-content/#post-471533
Thanks David! Unfortunately this is a bit beyond my current skills. Can you please describe briefly where to put the code in the dev theme and where to do the translation then ?
If I understand it right, Polylang causes the problem? Would you recommend another tool?
Thanks again for helping
Steffen
That code can be added using a hook element:
https://docs.generatepress.com/article/hooks-element-overview/
Then you can select generate_before_footer_content in the hook dropdown list.
Make sure to check to execute PHP.
Then set the display rules to the entire site.
Let me know if this helps :)
Thanks Leo, that did the job!
Best
Steffen
No problem :)