Opened 2 years ago
Closed 2 years ago
#15891 closed enhancement (wontfix)
TwentyTen: Show navigation <div> when needed
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Themes | Version: | |
| Severity: | normal | Keywords: | has-patch 2nd-opinion |
| Cc: |
Description
Show navigation <div> only when there's previous/next post (single view), attachment count more than 1 (attachment view).
Attachments (1)
Change History (5)
Refresh.
I agree it's a rare case. Just sharing. It's your call.
Version 0, edited 2 years ago
by zeo
(next)
- Keywords 2nd-opinion added; dev-feedback removed
- Type changed from defect (bug) to enhancement
Yes, for multiple pages. Not for previous/next.
Note: See
TracTickets for help on using
tickets.

A naked get_adjacent_post() just looks for the previous post.
This seems unnecessary. Many people might style the site using the navigation (for example, clearing, borders, etc.) and very rarely will it ever be empty for both previous/next. Might be good for future default themes, but not now with custom CSS and child themes.