Tag Info

New answers tagged

0

I dealt with this writing a custom template tag. You may want to adjust the structure and classes in order to fit the needs of your styling: function mysite_languages() { if ( function_exists( 'icl_get_languages' ) ) : $languages = icl_get_languages( 'skip_missing=N&orderby=KEY&order=DIR&link_empty_to=str' ); if ( ! empty( $languages ) ...


1

There is no standard way to get this information across all multilingual plugins. Some plugin use taxonomies for translation relations, other custom tables, separates sites in a network or options. You shouldn’t have to worry about that. Just let the user use different shortcodes in each translation.



Top 50 recent answers are included