• We’ve recently updgraded to WordPress 3.6, and have noticed that all of the ellipses have turned into [&hellip at the end of post summaries. We cannot contact our original theme creator, and every other suggested fix online involves updating or replacing code that isn’t in our functions.php file to begin with.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Do you have a link to your site so we can see whats going on?

    Thread Starter dbooth

    (@dbooth)

    Thread Starter dbooth

    (@dbooth)

    Would the problem be in our theme functions.php, or could it be in our content.php? I found a reference to excerpt there, but no obvious code to change.

    Never heard of this before, so I’d be interested in the other suggested fixes. Regardless, what happens if you add this to your functions.php file?

    function fix_excerpt_more($more){
    	$more = ' […]';
    	return $more;
    }
    add_filter('excerpt_more', 'fix_excerpt_more');

    Thread Starter dbooth

    (@dbooth)

    Sorry for the late response, was only able to test the code today. It works for the most part; there is an ellipse at the end, but it is preceded by the [ symbol.

    Thanks for that piece of code, Christian1012! Now, to get rid of that bracket.

    Try here! I tested!

    function fix_excerpt_more($more){
    	$more = ' …]';
    	return $more;
    }
    add_filter('excerpt_more', 'fix_excerpt_more');

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[&hellip replacing ellipsis across website’ is closed to new replies.