Forum Replies Created

Viewing 3 replies - 91 through 93 (of 93 total)
  • Forum: Fixing WordPress
    In reply to: menu order
    Thread Starter davidandre

    (@davidandre)

    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

    Forum: Fixing WordPress
    In reply to: menu order
    Thread Starter davidandre

    (@davidandre)

    hi Shane!
    thanks alot,
    i ll check it and let you know,
    cheers.really appreciate

    Forum: Your WordPress
    In reply to: navigation submenu
    Thread Starter davidandre

    (@davidandre)

    thanks a lot for the advice.i really appreciate.i ll try rght away and let you know.cheers

Viewing 3 replies - 91 through 93 (of 93 total)