odd characters
URL to the page in question:
-
Hey Bill!
Been a while! Hope all is well and you had a great Thanksgiving! I’m trying to finish this rebuild of our church’s site and as i’m adding the staff i noticed an issue. I think we had this issue on my theatre departments website that you helped with but can’t seem to find it on here or in email. So…the link it:
http://cotroc.org/newsite/staff-group/leadershipteam/
it has this : has her Masters degree in [&hellip
in a few places. Whats the fix?
Thanks!
Micah,
Thanksgiving here was great except for the stomach bug I caught on Friday. But even with that it was nice to have a week off with my kids.
Good question about the [&hellip
. That’s being created by a change to the excerpt function in WordPress. Here’s how to change that:
- Go to the Appearance section in your WordPress control panel and select Edit.
- From the list of files on your right, choose functions.php and find this section:
// Remove . . . from excerpts
function organizedthemes_trim($text) {
return rtrim($text,'[...]');
}
add_filter('get_the_excerpt', 'organizedthemes_trim');
- Replace that with this:
// Trim Excerpt . . .
function organizedthemes_excerpt( $more ) {
return '';
}
add_filter('excerpt_more', 'organizedthemes_excerpt');
- Save your changes.
That should take care of those extra characters. If you run into any trouble, let me know.
Have a great week,
Bill
Thanks Bill! Will give it a shot. As with all fixes you’ve given me i’m sure it will work!
- The topic ‘odd characters’ is closed to new replies.