• Resolved sara1086

    (@sara1086)


    I’m having a problem creating subpages.
    I did it before, a few days ago, and it seemed to work, but now it won’t.
    I’m trying to create subpages for photos on my photo page, and when I do the subpages appear for every page and in the photos page the subpages are duplicated and they over lap each other.
    I’m wondering if this may have something to do with my page order, because the other day I changed the order of the pages so that I can order them instead of them being in alphabetical order.
    This is what is in my theme editor:

    <!– This is the menu of pages–>
    <div id=”menu_view”>

    • “>Home
    • <?php wp_list_pages(‘sort_column=menu_order&title_li=’); ?>

    </div>

    <!– this displays the subpages – if any – in that red menu–>
    <div id=”sub_page_menu”>
    <?php if(wp_list_pages(“child_of=”.$post->ID.”&echo=0″)) { ?>

      <?php wp_list_pages(“title_li=&child_of=”.$post->ID.”&sort_column=menu_order&show_date=modified&date_format=$date_format”);?>

    <?php } ?>
    </div>

    <h1 id=”header”>“><?php bloginfo(‘name’); ?></h1>

    Can someone help??

The topic ‘Subpages’ is closed to new replies.