Hi there,
I am trying to use the less plugin but it does not work. As its source code is very short, can someone have a look at it? please
add_filter('the_content', 'tguy_less_remove_anchor');
function tguy_less_remove_anchor($content) {
/*
Remove the anchor portion from links like
<a href="http://www.com/blog/the-post/#more-23">
(Will remove the #more-23 part)
*/
global $id;
return str_replace('#more-'.$id.'">', '">', $content);
}
?>
</a>
do you see any obvious reasons why this works with wp 2.0.5 but not with wpmu 1.0?