Removing all emoji code from a ClassicPress site

Here’s a quick tip for ClassicPress theme developers. If you want to remove all trace of the WordPress/ClassicPress built-in emoji scripts, styles and tags from your ClassicPress site’s pages, here is the code that you need to add to your theme’s functions.php file: remove_action(‘wp_head’, ‘print_emoji_detection_script’, 7); remove_action(‘admin_print_scripts’, ‘print_emoji_detection_script’); remove_action(‘wp_print_styles’, ‘print_emoji_styles’); remove_action(‘admin_print_styles’, ‘print_emoji_styles’); add_filter(’emoji_svg_url’, ‘__return_false’); This […]

Meet the Community: Tim Hughes

ClassicPress Slack Handle: 1stepforward ClassicPress Forum Handle: 1stepforward Social media handles: I don’t really do social media. I find Facebook particularly annoying which to my mind is a platform for attention seekers. But, in general, I hate how social media is used to spread hate. Having said that, I do recognise that it can be […]

Norske

Meet the Community: Ilya Ivanov

Your name: Ilya Ivanov ClassicPress Slack Handle: @norske ClassicPress Forum Handle: @norske Social media handles: @norskes (Instagram & Facebook) Where in the world are you located? Vitebsk, Belarus. Website: Oh, that’s funny. I’ve been building and supporting websites for ages, but have no personal one since ~2010 🙂 Typically once a year I think “Well, […]