2011-08-05, 19:20:36
updated code should do it for you...
MIke,.
Code:
function listPages(){
global $pagesArray;
$pages= subval_sort($pagesArray,'menuOrder'); // can now take a 3rd option 'asc' or 'desc' for sorting..
foreach ($pages as $page) {
echo '<div id="seite-info">';
echo '<h2>'.$page['title'].'</h2>';
echo get_page_by_id('info');
echo '</div>';
}
}
MIke,.