2015-07-16, 03:18:43
PHP Code:
<?php
foreach (return_i18n_page_structure(null, true, null) as $page) {
$pag = $page['url'];
?>
<div class="page <?php echo $pag; ?>">
<div class="page-wrapper">
<h2 class="title"><?php getPageField($pag,'title'); ?></h2>
<?php getPageContent($pag); ?>
</div>
</div>
<?php } ?>
This is a working example from one of my themes. It returns an ordered set of contents of pages.
Note that you need I18N plugin and the pages need to marked for menu.