Opened 14 years ago
Closed 9 years ago
#14325 closed enhancement (maybelater)
No possibillity to add a "Home"-link to the nav_menu when there are no Pages
Reported by: | lundj | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.0 |
Component: | Menus | Keywords: | needs-patch |
Focuses: | Cc: |
Description
If you want to add a "Home" link to the new nav_menu in Wordpress 3.0 you can't do so, if there is no Page created yet. If there is no Page, there is also no "View All"-Button in the Pages-Section to view the "Home"-Link.
In my opinion the "Home-Link" in the Pages-Section is very hidden anyway.
Attachments (5)
Change History (25)
#3
@
14 years ago
- Keywords needs-patch added
- Type changed from enhancement to defect (bug)
Also setting this to defect, as the visibility of a home link shouldn't depend on their being a Page present.
#5
@
14 years ago
- Keywords ux-feedback added
- Milestone changed from Awaiting Review to Future Release
There isn't really a better place for it, unfortunately.
#7
@
13 years ago
- Milestone changed from Future Release to 3.4
- Type changed from defect (bug) to enhancement
We should incorporate it into the menu name area. We tried it there originally for this reason but couldn't make it look good placement wise and we were running out of time. We should look again.
#12
@
13 years ago
attachment:14325-patch1.diff isn't inserting the menu item for me.
Also, attached a screenshot of @MasterJake's attachment:14325-patch1.diff
From a workflow standpoint, my main issue with the location of the Add Home Link button in attachment:1432-patch1.png is that it's so far over on the right with the 'Save Menu' button. What about floating it left, something along the lines of attachment:14325-patch1B.png?
#13
follow-up:
↓ 14
@
13 years ago
Woah you have a HUGE resolution!! Anyways, as far as it not working, you do know you have to rename the .js file right? WordPress uses the minified one, but I submitted the patch on the dev version.
#14
in reply to:
↑ 13
;
follow-up:
↓ 15
@
13 years ago
Replying to master jake:
Woah you have a HUGE resolution!! Anyways, as far as it not working, you do know you have to rename the .js file right? WordPress uses the mimicked one, but I submitted the patch on the dev version.
Ahh yes, it has indeed been a long day. I played a bit with floating the 'Add Home Link' button left but I had a heckuva time getting the 'Delete Menu' link to stay in line.
#15
in reply to:
↑ 14
@
13 years ago
Replying to DrewAPicture:
Replying to master jake:
Woah you have a HUGE resolution!! Anyways, as far as it not working, you do know you have to rename the .js file right? WordPress uses the mimicked one, but I submitted the patch on the dev version.
Ahh yes, it has indeed been a long day. I played a bit with floating the 'Add Home Link' button left but I had a heckuva time getting the 'Delete Menu' link to stay in line.
Hehe, been a long day for me as well. I suppose if the button is having issues we could just make it a regular link.
#16
@
13 years ago
attachment:14325-patch2.diff Rearranges the 'Add Home Link' button to float left.
#17
@
13 years ago
- Keywords ui-feedback added
I'm having mixed feelings about this one. Having that button next to a link makes the button look kind of awkward and out of place. Maybe it really should be a regular blue link (maybe underlined like the delete action is).
#18
@
13 years ago
- Milestone changed from 3.4 to Future Release
We ran out of time to hit this for 3.4. Since we are hitting freeze and this hasn't been touched, punting until next time around.
#19
@
11 years ago
- Keywords needs-patch added; ux-feedback has-patch needs-testing dev-feedback ui-feedback removed
From time to time I still think about how we could incorporate a section of links that are sort of like common utiilties (terrible word for it). Think home link, maybe log in/out, plugins that create virtual pages for a shopping cart and checkout, etc. The how is probably easy enough - naming it, however, has not proven to be so. It's possible that the difficulty in naming it indicates that we are trying to marry some pretty disparate things. But in any case, we should try again, whether going that route or something special for the home link.
Related support thread http://wordpress.org/support/topic/wp_nav_menu-home-menu-item-should-be-dynamic?replies=1 "Home link [should] use
<?php bloginfo('url'); ?>
"