PHP specific question.
-
I’m using the smart archives plugin, just wondering how I’d convert the following code, which shows the short version of the months, to the standard mode that shows the long version of the months. This is the part of the code in question:
$sm = date("M", StrToTime("$date[month]/01/2001")); // get the shortened month name
$pd = sprintf("%02s", $date[month]); // pad the month with a zero if needed
echo('<a href="'.$archive_uri.$year.'/'.$pd.'/">'.$sm.'</a> '."n");
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘PHP specific question.’ is closed to new replies.