Skip to content

Commit

Permalink
Removed emoji added in WordPress 4.2. Thanks a lot WordPress.
Browse files Browse the repository at this point in the history
  • Loading branch information
bradonomics committed Apr 27, 2015
1 parent cfbe80f commit 7b65023
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,17 @@ function geneplate_enqueue_scripts() {
add_theme_support( 'genesis-responsive-viewport' );

//* Add Structural Wraps
add_theme_support( 'genesis-structural-wraps', array( 'header', 'footer-widgets' ) );
add_theme_support( 'genesis-structural-wraps', array( 'header', 'footer-widgets', 'footer' ) );

//* Remove Edit Link
add_filter( 'edit_post_link', '__return_false' );

//* Remove Emoji
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' );


/************* UNREGISTER LAYOUTS AND WIDGETS *************/

Expand Down

0 comments on commit 7b65023

Please sign in to comment.