The MU forums have moved to

question about a very simple plugin (2 posts)

  1. Ovidiu
    Posted 15 years ago #

    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="">
    (Will remove the #more-23 part)
    global $id;
    return str_replace('#more-'.$id.'">', '">', $content);

    do you see any obvious reasons why this works with wp 2.0.5 but not with wpmu 1.0?

  2. Ovidiu
    Posted 15 years ago #


    this is a real cool thing, I hate it when I click a read more link and it jumps to the middle of an article, but I am unable to find out why this does not work with wpmu.

About this Topic