Opened 6 years ago
Last modified 2 years ago
#42358 new defect (bug)
Twenty Seventeen: Social Links menu items in footer get hidden when used as child
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 4.9 |
Component: | Bundled Theme | Keywords: | has-screenshots dev-feedback 2nd-opinion |
Focuses: | ui | Cc: |
Description
Inside customizer if I reorder Social Menu Items as Children while they are on footer, child items are not visible any more and no way to access them! But they come up as dropdown sub menu item(s) when placed in Top menu. Screenshot attached.
I think when Footer menu is checked menu option to create a parent-child kind of ordering should not be available. However, if both options (Header and Footer) are checked, parent-child ordering needs to be there, but it should only in header menu only and leaving all footer menu items visible.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Twenty Seventeen uses the
$depth
argument of 1 inwp_nav_menu
for the Social Links Menu location. It only shows the top level so those links stay in one inline list. The same argument is used for social/secondary menu locations in each bundled theme from Twenty Fifteen to Twenty Twenty-One.If this is changed in (future) themes, it might require a new walker function.
On the other hand, if someone accidentally puts a link at another level, some notification could help. The Menus screen and Customizer would need to check the depth argument and either show an error message or even try to correct it.