• Resolved whitelily85

    (@whitelily85)


    I am using the Inspiro (child) theme and am trying to translate the hero_title and hero_description.

    After adding the below php, only 1 string showed up under “Translate Strings”, hero_description, but entering the translated text here does not display it on the actual page.

    Am I doing something wrong?

    add_action(‘init’, function() {
    if(function_exists(‘falang_register_string’)) {
    // Hero section strings
    falang_register_string(‘inspiro_child_theme’, ‘hero_title’, get_theme_mod(‘hero_title’));
    falang_register_string(‘inspiro_child_theme’, ‘hero_description’, get_theme_mod(‘hero_description’));
    }
    });

    The page I need help with: [log in to see the link]

Viewing 4 replies - 16 through 19 (of 19 total)
  • Thread Starter whitelily85

    (@whitelily85)

    Yes, I updated all 4 of the fields and published it, but they still dont appear as strings.

    Thread Starter whitelily85

    (@whitelily85)

    If it is easier I can give you a temp. admin login for the website?

    Plugin Author sbouey

    (@sbouey)

    i can’t ask this on a public forum

    Thread Starter whitelily85

    (@whitelily85)

    Thanks to the fantastic support, this has now been resolved!

    Just in case it helps anyone else:

    Instead of under strings, the options were nestled under: Translate options > theme_mods_inspiro_child > Edit > header_site_title / header_site_description

Viewing 4 replies - 16 through 19 (of 19 total)

You must be logged in to reply to this topic.