Support » Fixing WordPress » Smiley image – can not remove it

Viewing 6 replies - 1 through 6 (of 6 total)
  • If in your site Options you have opted out of the smilies, but they are still displaying your theme or a plugin can be adding the filter:

    You can search for that in your theme/plugin files.

    Thanks, you brought me to the answer. I got that post from a feed which already had the image icon 🙂

    However, I would really like to have all these removed or replaced by code. Any clue where to dig further?

    i.e. replace icon_wink.gif with just 🙂

    You can add
    remove_filter( 'the_content', 'convert_smilies' ); to your theme’s functions.php file.

    Thanks but my site crash when I copy and past that string?

    remove_filter( 'the_content', 'convert_smilies' );

    Any clue what is going wrong?

    sorry, I wrote wrong code, it does no longer crash.

    but it will not work on already posted posts or?

    because if it does, it doesnt work

    are you sure this will remove the smiley icon and not only the smiley function?

    because there is no longer any function as the smiley icon is imported from another feed (wordpress blog). on my site its just an image with a smiley file name i want to replace or remove

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Smiley image – can not remove it’ is closed to new replies.