This is an old version of this answer!
Return to the current answerYou will have to edit the file wp-includes/bookmark-template.php
Around line 99
from
Then add the following code to theme functions.php
Around line 99
from
$output .= '<a href="' . $the_link . '"' . $rel . $title . $target . '>';
to$output .= '<a href="' . $the_link . '"' . $rel . $title . $target . custom_link_class($bookmark) . '>';
Then add the following code to theme functions.php
function custom_link_class($bookmark)
{
$days = 30;
$time = $days * 86400;
if(strtotime($bookmark->link_updated) + $time > time())
{
return ' class="new"';
}
return '';
}
Utkarsh Kukreti | 01/08/10 at 2:47am




