Ticket #7434 (closed enhancement: fixed)

Opened 4 years ago

Last modified 4 years ago

New Filters: previous_posts_link_attributes and next_posts_link_attributes

Reported by: JohnLamansky Owned by: westi
Priority: normal Milestone: 2.7
Component: Template Version: 2.6
Severity: normal Keywords: has-patch hook filter previous_posts_link next_posts_link
Cc:

Description

These 2 filters are for adding style/class/rel/title attributes to the previous/next posts links (e.g. "Older posts" and "Newer posts").

Attachments

link-template.php.diff Download (949 bytes) - added by JohnLamansky 4 years ago.

Change History

  • Owner changed from anonymous to westi
  • Status changed from new to assigned
  • Milestone changed from 2.6.1 to 2.7
  • Status changed from assigned to closed
  • Resolution set to fixed

(In [8502]) Allow a plugin to add attributes to the next and previous posts links. Fixes #7434 props JohnLamansky.

Note: See TracTickets for help on using tickets.