Home>Support>Translate Next and Previous Post button in Corp child theme

Translate Next and Previous Post button in Corp child theme


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!

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 4 years, 7 days ago Andrew Misplon
    Hi, I Work Here

    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. 4 years, 6 days ago Pedro Oliveira

    Nice, it worked!

    Thanks Andrew.

  3. 4 years, 6 days ago Andrew Misplon
    Hi, I Work Here

    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.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More