2011-04-21, 02:41:44
I18N Version 1.3:
It's even better with the new version, as you can include all pages in the site map, even if they do not show up in the menu.
This feature is now available, too. See above.
- replaced showall-Parameter with show parameter:
- for a menu, which should only contain entries, which are available for the current language use "get_i18n_navigation(return_page_slug(),1,10,I18N_SHOW_LANGUAGE)"
- for a site map use "get_i18n_navigation(return_page_slug(),1,10,I18N_SHOW_PAGES)" or "get_i18n_navigation(return_page_slug(),1,10,I18N_SHOW_MENU)", depending on whether you want to display all pages or only the pages visible in the menu.
- for a menu, which should only contain entries, which are available for the current language use "get_i18n_navigation(return_page_slug(),1,10,I18N_SHOW_LANGUAGE)"
Connie Wrote:I just tested how to use this great plugin to create a sitemap for your content and it works great.
It's even better with the new version, as you can include all pages in the site map, even if they do not show up in the menu.
Joshas Wrote:Another important thing would be display of menu items only if they have translations in that language.
This feature is now available, too. See above.