This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Translate Next and Previous Post button in Corp child theme

Resolved 3 replies technicalthemetheme-corp
5 years ago · Last reply by Andrew Misplon 5 years ago

Hi,

I’m trying to translate this 2 buttons with no success.
I’ve been able to translate “Related Posts” and “Search” with Loco, but the plugin doesn’t recognize those next/previous post buttons.
I tried to copy and edit the file from inc/template-tags.php to the child theme, but it doesn’t recognize the file changes.
The only way I got it to work was editing the parent theme, which isn’t a solution…

Any ideas would be really appreciated!
Cheers,
Pedro

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

3
  1. Andrew Misplon Staff 5 years, 8 months ago

    Hi Pedro

    Thanks for reaching out.

    I can see the issue, I’m not quite sure why those strings aren’t making it into the theme’s .pot file.

    To resolve the problem for the time being, please, copy the entire function into the functions.php file of your child theme and then change the strings https://github.com/siteorigin/siteorigin-corp/blob/develop/inc/template-tags.php#L218-L259.

  2. Pedro Oliveira 5 years, 8 months ago

    Nice, it worked!

    Thanks Andrew.

  3. Andrew Misplon Staff 5 years, 7 months ago

    Super, glad to hear that helped. The issue will be updated on GitHub once we’ve attended to it. Thanks again for reporting :)

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread