• Resolved welsh10

    (@welshlamb10)


    Hi,

    I’m using the Neve theme. I have Polylang installed for translations. I have a button in the header menu, but it won’t allow me to translate the string text for the button. How can I do this?

    I have added to the functions

    `/*Translations*/
    // Checks function exists
    if (function_exists(‘pll_register_string’)) {
    /* Button – Translation */
    add_action( ‘admin_init’, function() {
    pll_register_string(‘find-btn’,’Find’);

    I’m unable to echo this in the button customizer.

    Can anyone advise?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Header Menu Button Translations’ is closed to new replies.