odd characters

Support Area Forums Live odd characters

Viewing 3 posts - 1 through 3 (of 3 total)
URL to the page in question:
  • Author
    Posts
  • #15511
    Micah Hensley
    Participant

    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!

    #15528
    Bill Robbins
    Moderator

    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:

    1. Go to the Appearance section in your WordPress control panel and select Edit.
    2. 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');
      
    3. Replace that with this:
      
      // Trim Excerpt . . .	
      	function organizedthemes_excerpt( $more ) {
      		return '';
      	}
      	add_filter('excerpt_more', 'organizedthemes_excerpt');
      
    4. 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

    #15531
    Micah Hensley
    Participant

    Thanks Bill! Will give it a shot. As with all fixes you’ve given me i’m sure it will work!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘odd characters’ is closed to new replies.