• Hello everyone I added a control to my theme customization page like so:

    
        $wp_customize->add_control('mytheme_search_button_text',array(
            'type' => 'text',
            'section' => 'mytheme_search_button_text',
            'setting' => 'mytheme_search_button_text',
            'input_attrs' => array( 'class' => 'i18n-multilingual')
        ));
    

    And the class displays correctly in the customization page, I was under the impression that all I needed to do is add the class i18n-multilingual to the theme fields and qTranslate-x will take care of the rest. I changed themes and back, nothing happens.

    So is this NOT the right way to integrate qTranslate-x into my theme? If so, what should I do to make the plugin pickup fields in customize.php

    Thanks

    • This topic was modified 6 years, 10 months ago by alkateb.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘qTranslate-X is not picking up fields in theme customization page’ is closed to new replies.