Better Less)
Plugin URI: http://fwolf.info/wp-bless/
Description: Change the (more...) link so it displays the entire post, not just the part after the "more". Adjusted to use the post-id instead of displaying the whole page. Original Author: Bennett McElwee
Version: 1.2
Author: Fabian Wolf
Author URI: http://fwolf.info
$Revision$
Copyleft 2007 Fabian Wolf (mail at fwolf dotinfo)
Copyright (C) 2005, 2007 Bennett McElwee (bennett at thunderguy dotcom)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License,
available at http://www.gnu.org/copyleft/gpl.html
*/
add_filter('the_content', 'fwolf_bless_remove_anchor');
function fwolf_bless_remove_anchor($content) {
/*
Replace the anchor portion from links like
(Will remove the #more-23 part)
with post-id
*/
global $id;
return str_replace('#more-'.$id.'"', '#post-'.$id.'"', $content);
}
?>