Support » Plugins » Hacks » Need Help for get pages

  • Hello,

    My navigation is built in this way:

    foreach(get_pages('exclude=22,55')as $p) {
    if($p->post_parent == 0) {
    if($p->ID== $wp_query->post->ID) {
    echo '<li class="current_page_item">'.$p->post_title.'';
    } else {
    echo '
    <li><a>post_title.'" href="'.get_permalink($p->ID).'">'.$p->post_title.'</a></li>

    [Please post code or markup snippets between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    I want to sort_column with menu_order.
    Where to integrate?

    Thanx for your help,

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Need Help for get pages’ is closed to new replies.