ID) . '" title="Read more '.get_the_title($post->ID).'">Read more »'; } add_filter('excerpt_more', 'basically_excerpt_more'); ################################################################################ // Remove gallery inline style ################################################################################ function basically_remove_gallery_css( $css ) { return preg_replace( "##s", '', $css ); } add_filter( 'gallery_style', 'basically_remove_gallery_css' ); ################################################################################ // Disabling Wp-Pagenavi Style ################################################################################ function my_deregister_styles() { wp_deregister_style( 'wp-pagenavi' ); } add_action( 'wp_print_styles', 'my_deregister_styles', 100 );