Reply To: text translation in custom heading

#723
livemesh
Keymaster

Needs code change for this. The theme does not explicitly support this plugin but this issue can be fixed with a simple code change as described below. Tested it and works fine. Pls replace the function mo_get_custom_heading() in the file [theme directory]/framework/functions/utility-functions.php with the one below –

function mo_get_custom_heading() {
    $output = '';
    $custom_heading = __(get_post_meta(get_queried_object_id(), 'mo_custom_heading_content', true));
    if (!empty ($custom_heading)) {
        $output .= $custom_heading;
    }
    return $output;
}

You should look for line numbers 396 to 402. Then you should see the custom titles in your language. Tested out with the following syntax for English and Spanish languages –

About UsKompetensområden

English Title goes hereSpanish Title goes here.