Opened 18 years ago
Closed 11 years ago
#6109 closed enhancement (fixed)
Add class attribute for next_posts_link and previous_posts_link
| Reported by: | charlieman | Owned by: | sorich87 |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.7 |
| Component: | Posts, Post Types | Version: | |
| Severity: | minor | Keywords: | has-patch |
| Cc: | Focuses: | template |
Description
Usually i see myself adding divs or spans around links generated with next_posts_link and previous_posts_link to style them. They should have a parameter where one could add the class attribute for the link.
Attachments (2)
Change History (10)
#2
@
17 years ago
- Component General → Template
- Keywords needs-patch added; has-patch dev-feedback removed
#4
@
17 years ago
- Keywords 2nd-opinion added
The next_posts_link_attributes filter could be used here or would adding a class be a better solution?
#5
@
17 years ago
- Keywords 2nd-opinion removed
Sounds like a reasonable idea.
Someone needs to cook up a new patch for it.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
broken patch