[Resolved] Dev Theme Copyright

Home Forums Support [Resolved] Dev Theme Copyright

Home Forums Support Dev Theme Copyright

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1652973
    Steffen

    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

    #1653376
    David
    Staff
    Customer Support

    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.

    #1653976
    Steffen

    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

    #1654682
    David
    Staff
    Customer Support

    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

    #1654718
    Steffen

    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

    #1655046
    Leo
    Staff
    Customer Support

    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 🙂

    #1655535
    Steffen

    Thanks Leo, that did the job!

    Best

    Steffen

    #1656219
    Leo
    Staff
    Customer Support

    No problem 🙂

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.