This particular code snippet isn’t necessarily part of the plugin itself. But since the plugin relies on post excerpts, it can help fix a what can be a minor annoyance on some sites. WordPress automatically puts in an anchor link to where the ‘more’ tag is. So when you click “read more” the browser will not only load the full post, it will jump to the location where the ‘more’ tag is.Depending on the length of your excerpt and the header of your site, this can make browsing awkward; especially if your average reader is like me – wanting to read the entire post from the beginning.
You are here: / Archives for preg_replace