2013-10-13, 21:16:17
(2013-10-13, 18:45:34)phpman Wrote: ... and i canĀ“t use {sitemap} as a slug in the content pages.
Read what I said:
Quote:Depends on plugins: I18N Search, DynPages.
DynPages is necessary to call a component directly from the page editor.
Or, you put directly in the template:
PHP Code:
<div class="sitemap"><ul>
get_i18n_navigation(return_page_slug(),0,99,I18N_SHOW_PAGES);
</ul></div>
You must wrap the PHP in <ul> ... </ul>. The <div class="sitemap"> ... </div> is convenient for styling, but not essential.
--
Nick.
Nick.