#13213 closed task (blessed) (fixed)
Add Home option to Nav Menus
| Reported by: | LesBessant | Owned by: | filosofo |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | Menus | Version: | 3.0 |
| Severity: | normal | Keywords: | has-patch ux-feedback |
| Cc: | Focuses: |
Description
As mentioned in this support forum thread:
http://wordpress.org/support/topic/394541
While it's easy enough to create a custom link with the site URL, a built-in "home" option would enable the use of the current-menu-item class.
I see this was previously requested in #12713, but as that ticket is closed, I'm adding it here - I haven't found another ticket covering it.
Attachments (3)
Change History (22)
#1
@
17 years ago
- Component General → Menus
- Owner set to
- Type feature request → enhancement
- Version → 3.0
#6
@
17 years ago
Also, as discussed with ryan and others, we need to work through the front end walker and check all custom links against the current URL for adding current-menu-item classes. That would include a Home link and any other.
#9
@
16 years ago
- Keywords needs-patch added
We either need to hide-if-no-js, or preferably make it a nonce link that can add it.
#11
@
16 years ago
- Keywords has-patch added; needs-patch removed
Patch lets you add a home link with no js enabled.
#12
@
16 years ago
Tests fine, but I doubt we want to make that a button, unless we style it differently (perhaps like a link). We could do a nonce URL instead. I suppose we should ask if Jane has wanted it as something other than a link all this time, though.
#13
@
16 years ago
Dev chat discussion led to this implementation decision: Make Home just another 'page' in the checkbox list in the pages box. That's how users think of it. No separate link at all.
#14
@
16 years ago
- Keywords ux-feedback added
UX thought -- Should we really be adding this to the top anymore? Now that it's built into Pages > View All, it makes sense to follow the normal flow. That said, as discussed in IRC, it seems we ought to differentiate it a bit anyway, maybe with an icon, or "(home)" appended in gray text, or a divider, something.
#15
@
16 years ago
Per dev chat:
As long as Home is at the top of the checkbox list, I don't care if it adds to top in the actual menu. Is fine not to, since would be at top for a new menu, which is when it would most matter.
I don't think Home should get a different visual treatment.
#17
follow-up:
↓ 18
@
16 years ago
I just thought it might be mentioning that as a long-time WordPress user, new to 3.0, this was not at all discoverable. This is the only place I actually found the information I was looking for! And it just feels very hacked in — the way it shows up as "custom," the way it's just my URL in the URL box. I think you can do better, IMO.
Still, this new menus feature in general is wonderful. I can see myself making extensive use of it!
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
[14439] -- More menu improvements. Add link that adds a menu item to the home page, make empty menu dropzone slightly larger, limit selected items to the active tab. props koopersmith and ptahdunbar. see #13220.
Does not yet work for JS. I think koopersmith has an idea on how we can do that easily.