Title: Automatic Menu Structure
Last modified: August 30, 2016

---

# Automatic Menu Structure

 *  [jamescushing](https://wordpress.org/support/users/jamescushing/)
 * (@jamescushing)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/automatic-menu-structure/)
 * Hi,
 * In the old themes, such as twentyten, the structure of the theme’s main menu 
   would automatically reflect any movement of pages. For example, if I have the
   structure
 * About
    – Company History Projects – Project A – Project B – Foo
 * If I were to edit Foo and change its parent from ‘Projects’ to ‘About’, the menu
   structure would also change to reflect this. In recent themes, this is not the
   case.
 * Does anyone have any idea why this is, or even better, how to bring back this
   functionality? I’ve looked in the functions.php file of twentyten but it doesn’t
   seem to be there. I could write a custom function to do this, but we’re quite
   time-limited at work right now and this is for an ad-hoc customer request rather
   than a pressing issue.

Viewing 1 replies (of 1 total)

 *  Thread Starter [jamescushing](https://wordpress.org/support/users/jamescushing/)
 * (@jamescushing)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/automatic-menu-structure/#post-6760913)
 * It seems noone else seems to need the functionality, but for anyone in future
   who comes across this – I fixed it and outlined the details here:
    [Make menu structure match page heirarchy on page parent change (wordpress.stackexchange.com)](http://wordpress.stackexchange.com/questions/209350/make-menu-structure-match-page-heirarchy-on-page-parent-change)

Viewing 1 replies (of 1 total)

The topic ‘Automatic Menu Structure’ is closed to new replies.

## Tags

 * [menu](https://wordpress.org/support/topic-tag/menu/)

 * 1 reply
 * 1 participant
 * Last reply from: [jamescushing](https://wordpress.org/support/users/jamescushing/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/automatic-menu-structure/#post-6760913)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
