Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

child theme to translate blog previous and next links

Home / Forums / Virtue Theme / child theme to translate blog previous and next links

This topic is: Resolved
[Resolved]
Posted in: Virtue Theme
June 19, 2017 at 4:37 am

Hi team,

I want to translate some text to Dutch in my virtue theme that’s not up for editing in the theme options language settings, and looking for the easiest way to do that. (so, without adding a plugin)
The text I want to change is on the bottom of each post where it says “previous post” and “next post”.
I want to have the Dutch words there: “vorig artikel” and “volgend artikel”.

I thought to create a child theme. I found your tutorial.

I still have some questions.

1.

What url do I need to replace the example url’s with, considering my domain name is prachtwerk.be?
Would this be correct?

Theme Name: Virtue Premium Child
Theme URI: (when you click on that, it doesn’t go anywhere)
Description: Virtue Premium Child Theme
Author: My Name Leila Kubegusa
Author URI: (does this matter?)
Template: virtue_premium (the name of the standard virtue theme folder I see in ftp)
Version: 1.0.0
Tags: light, dark, two-columns, right-sidebar, responsive-layout
Text Domain: virtue-child

2. Do I need to add the function.php as a complete empty file? (Why?)

3. What code do I add to tell it different names for the “previous post” and “next post” ?

Thanks in advance for pointing me in the right direction!
Leila

  • The forum ‘Virtue Theme’ is closed to new topics and replies.