Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
Danny Froberg
tagDiv Member

First thanks to 1234.LV for the suggestion.

Bogdan is TagDiv contemplating to join the Go Global in the foreseeable future?

Danny Froberg
tagDiv Member

Any plans to fix it?

Danny Froberg
tagDiv Member

Did you test enabling the Newspaper-child that comes bundled?

It’s identical to the previous ones for 7.x;

add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles', 1001);
function theme_enqueue_styles() {
wp_enqueue_style('td-theme', get_template_directory_uri() . '/style.css', '', '6.1c', 'all' );
wp_enqueue_style('td-theme-child', get_stylesheet_directory_uri() . '/style.css', array('td-theme'), '6.1c', 'all' );

}

Is there anything else that should be in there that is not?

Danny Froberg
tagDiv Member

It does not seem to be plugin related at all, but rather related to child themes.
Can you try replicating it by activating the standard Newspaper-child?

Danny Froberg
tagDiv Member

Thanks Bogdan,
Found it, but took a while, was my attempt at removing the wpemoji and forgetting the callback function;


// Callback function
function disable_emojicons_tinymce( $plugins ) {
if ( is_array( $plugins ) ) {
return array_diff( $plugins, array( 'wpemoji' ) );
} else {
return array();
}
}
// Clean Emoji
add_action( 'init', 'disable_wp_emojicons' );
function disable_wp_emojicons() {

// all actions related to emojis
remove_action( 'admin_print_styles', 'print_emoji_styles' );
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_filter( 'wp_mail', 'wp_staticize_emoji_for_email' );
remove_filter( 'the_content_feed', 'wp_staticize_emoji' );
remove_filter( 'comment_text_rss', 'wp_staticize_emoji' );

// filter to remove TinyMCE emojis
add_filter( 'tiny_mce_plugins', 'disable_emojicons_tinymce' );
}

Viewing 5 posts - 1 through 5 (of 5 total)