menu order
-
Hi everybody!
i am having a problem with my menu order. i ve got a vertical list:
item1
item2
item3and i would like that ,when i click on the item 2 for example,
the menu order becomes (on the page onthe items2):
item2
item1
item3and not:”sort_column=menu_order”
here is 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?>
what could i change to get the result i am lloking for?
thanks a lot for your help!i need it:)i am trying for a while without solution…
cheers,
David
- The topic ‘menu order’ is closed to new replies.