Skip to:
Content

BuddyPress.org

Ticket #2691: changeDepthParam.patch

File changeDepthParam.patch, 558 bytes (added by hnla, 12 years ago)

minor adjustment to wp_list_pages depth Parem from 1 to 0

  • functions.php

     
    356356                        <a href="<?php echo site_url() ?>" title="<?php _e( 'Home', 'buddypress' ) ?>"><?php _e( 'Home', 'buddypress' ) ?></a>
    357357                </li>
    358358
    359                 <?php wp_list_pages( 'title_li=&depth=1&exclude=' . bp_dtheme_page_on_front() ); ?>
     359                <?php wp_list_pages( 'title_li=&depth=0&exclude=' . bp_dtheme_page_on_front() ); ?>
    360360                <?php do_action( 'bp_nav_items' ); ?>
    361361        </ul><!-- #nav -->
    362362<?php