2012-06-23, 22:18:03
(This post was last modified: 2012-06-23, 22:37:05 by Woreavelesor.)
how do I get the parent of the subpages to show above the subpage list?
example:
/* sidebar.inc.php */
<h2><?php get_page() ?></h2>
<ul>
<?php getSubMenu($id); ?>
</ul>
what's the correct function to get parent of the subpages? I just made up get_page() as an example.
And how do I organize the order in which they subpages appear on the list?
example:
/* sidebar.inc.php */
<h2><?php get_page() ?></h2>
<ul>
<?php getSubMenu($id); ?>
</ul>
what's the correct function to get parent of the subpages? I just made up get_page() as an example.
And how do I organize the order in which they subpages appear on the list?