Hi Everybody!
i tried this two plugins but not really what i am loking for..anyway thanks a lot for your answer Shane!always nice.
I don t need to rearrange my menu order from the backend, but i would like a dinamic menu in function of the page.
if i am on the page 1:
item 1
item2
item 3
if i am on the page 2:
item2
item1
item3…
and so…
my code:
<?php if ( is_page() ) {
if($post->post_parent)
$children = wp_list_pages(‘sort_column=menu_order&title_li=&child_of=’.$post->post_parent.’&echo=0′);
else
$children = wp_list_pages(‘sort_column=menu_order&title_li=&child_of=’.$post->ID.’&echo=0′);
if ($children) {
?>
<div class=”sidebar”>
<h2>prueba</h2>
<ul id=”sub”>
<?php echo $children; ?>
</div>
<?php
} // End If Post
} // End if is page
?>
i know the problem is `sort_column=menu_order” but don t find any tag which can fix my problem! any idea???
sorry if my english is not that clear.(not my language)
thanks alot,
David