开发者 | rufein |
---|---|
更新时间 | 2015年4月30日 16:09 |
捐献地址: | 去捐款 |
PHP版本: | 4.0 及以上 |
WordPress版本: | 4.1 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
Yes. It's posible change the content of the selector. You only have to add a filter in the functions.php in your theme or add the code in yoyr custom plugin. For example: add_filter( 'lang-code-selector-content', 'test_lang_code_selector_content' ); function test_lang_code_selector_content( $lang_code ){ global $q_config; $link_flag_url = dirname(plugins_url()) . '/' . $q_config['flag_location'] . $q_config['flag'][$lang_code]; $link_flag = ""; return $lang_code . $link_flag ; }
I've open a project in my github profile. Feel free to fork and change the code.