Plugin Directory

Changeset 822288


Ignore:
Timestamp:
12/15/2013 06:25:54 AM (12 years ago)
Author:
rob1n
Message:

Add title to month links

File:
1 edited

Legend:

Unmodified
Added
Removed
  • smarter-archives/trunk/smarter-archives.php

    r822283 r822288  
    9696            if ( isset( $months[$month_number] ) ) {
    9797                $output .= "<$month_tag>";
    98                 $output .= '<' . _smarter_archives_tag( 'a', $month_link_class ) . ' href="' . get_month_link( $year, $month_number ) . '">';
     98                $output .= '<' . _smarter_archives_tag( 'a', $month_link_class ) . ' href="';
     99                $output .= get_month_link( $year, $month_number );
     100                $output .= '" title="';
     101                $output .= sprintf( _n( '% post', '% posts', $months[$month_number], 'smarter-archives' ) );
     102                $output .= '"'. '">';
    99103                $output .= $month_name;
    100104                $output .= "</a></$month_tag>";
Note: See TracChangeset for help on using the changeset viewer.