Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
The modules doesn't have a span/div around it so you can't even target it with CSS. You basicly have to hack the module to ether wrap it in a span with a class/id you can target in your CSS or just remove it altogether.
Theres a line in 'taxonomy_block' function (/modules/taxonomy.module) that looks like: $items[] = l($category->name .' ('. $category->count .')', 'taxonomy/term/'. $category->tid) .'<br />'. t('%time ago', array('%time' => format_interval(time() - $category->updated)));
replace it with: $items[] = l($category->name, 'taxonomy/term/'. $category->tid);
to remove the time stamp your having problems with.
Comments
You can't
The modules doesn't have a span/div around it so you can't even target it with CSS. You basicly have to hack the module to ether wrap it in a span with a class/id you can target in your CSS or just remove it altogether.
Theres a line in 'taxonomy_block' function (/modules/taxonomy.module) that looks like:
$items[] = l($category->name .' ('. $category->count .')', 'taxonomy/term/'. $category->tid) .'<br />'. t('%time ago', array('%time' => format_interval(time() - $category->updated)));replace it with:
$items[] = l($category->name, 'taxonomy/term/'. $category->tid);to remove the time stamp your having problems with.