Functions summary
cml_dropdown_langs |
Print html dropdown list with all enabled languages |
cml_get_browser_lang |
grab browser language |
cml_get_menu |
return the id of menu to use in according to current language return value can
be used as wp_nav_menu function. |
cml_get_notice |
return post/page notice in selected language |
cml_get_the_link |
return link of current page in according to selected $language, so if $result !=
current language this function will return its translation link. |
cml_is_homepage |
Check if current url ( or $url ) is the homepage |
cml_show_flags |
Return flag <ul><li>....</li></ul> list |