• I have Polylang installed. However I’m not seeing any extra fields that would allow me to set different text for header button and HTML elements.
    Is there a built-in integration? Or maybe an instruction on manual integration somewhere?

Viewing 2 replies - 1 through 2 (of 2 total)
  • hannah

    (@hannahritner)

    Hi,
    You should see these options in the polylang string translation section. See here: https://polylang.pro/doc/strings-translation/
    Let me know if that helps!

    Kindly,
    Hannah

    Thread Starter rinart73

    (@rinart73)

    I am aware of Polylang string translation. However Kadence settings strings are not automatically created for Kadence theme header button or HTML.

    So if I understand correctly you’re saying that the way to go is to manually integrate Kadence with Polylang.
    However I can’t use the following code to localize a separate Kadence theme option in a quick an easy way:
    new PLL_Translate_Option( 'kadence_header_button', array(), array( 'context' => 'Kadence' ) );
    necause Kadence stores all theme settings in one option.

    And the “option” function in the file “/wp-content/themes/kadence/inc/components/options/component.php” doesn’t have a way to filter value.

    The only idea that currently comes to mind is to create a filter for the whole “kadence_settings” option and change values there. Is this the correct way here or am I missing something?

    • This reply was modified 2 years, 2 months ago by rinart73.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to set different text/translate header and footer content’ is closed to new replies.