Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I want to hide these special charecter (������) after excerpts ..

e.g.

"Los votos del PP han impedido este jueves que el Parlament apruebe instar al Govern a que en un plazo de mes establezca un calendario en el que detalle las fechas en las que hará efectivos los pagos a los proveedores. Los 'populares �����"

"“सीएमएस मीडिया लेब” द्वारा जारी आकडे बताते हैं की इन चैनलो ने अपने प्राइम टाइम के कुल समय का ������"

plz guide me

share|improve this question
add comment

1 Answer

You'll want to use the excerpt_more filter to modify this text. e.g.:

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

You'll also want to make sure that nothing else is applying this filter, as it may be the cause of your problem. (If not that, then there is probably an issue with the character encoding, or internationalization/translation strings, etc. for your Theme.)

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.