0

I tried to edit the post order and parent in the pages menu. All is well in the database but when I went to the menus menu the only thing I could see was a flat view of everything. Again I changed it here but when looking in the database it didn't reflect there and I can't see where the changes are stored as there's no menu table.

So I was wondering, am I looking at two different things here? If I am then what is the purpose of the parent field and ordering and arranging pages?

It doesn't seem to indicate anything wrt the menu structure and changing the menu structure doesn't seem to affect it even though I can nest pages within one another there and it remains intact from one instance to the next.

1 Answer 1

0

When you set a page to be a child of another the URL of the child page becomes /parent-slug/child-slug and you can query the database for all pages that are children of a specific parent page. It helps to establish information hierarchy.

Menu order and arrangement are completely separate: you could put a link to the child page in a menu and nest the parent page under it if you wanted. That would be terrible UX, but you could do it.

To move a menu item to a child menu all you have to do is drag it to the right.

enter image description here

4
  • So post hierarchy is used for informational ordering and grouping and nothing more. What I haven't figured out from the database yet is how pages are linked to menus, and where pages can also be set to be children of other pages in the menu structure but this doesn't seem to be stored with the page posts themselves. I also don't know how that would be presented visually. Commented Jan 17 at 0:25
  • Visual presentation entirely depends on the theme you're using. Commented Jan 17 at 13:05
  • Thank you for that. Commented Jan 17 at 14:59
  • Updated my answer with some extra detail. Commented Jan 18 at 11:24

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.