WordPress Jetpack simple-payments CSS Dosyası Kaldırma

Sunipeyk
Sunipeyk
Aug 9, 2017 · 1 min read

WordPress’in Jetpack eklentisi son güncellemesinde yeni bir modül eklemiş. Simple-payments. Bu modül siteye simple-payments.css dosyasını otomatik olarak ekliyor. Jetpack ayarlar ve eklenti dosyaları içinde bu modül ve dosyalarının ayarları yok. Bu CSS dosyası sizi rahatsız ediyorsa function dosyanıza

add_action( 'wp_print_styles', 'my_deregister_styles', 100 ); function my_deregister_styles() { wp_dequeue_style('simple-payments');

}

eklemeniz yeterli. Fazladan gelen bu CSS dosyası, sitenizin sayfa hızını ve puanını etkiliyebiliyor.

Yeni güncellemeye kadar çözümü şimdilik bu.


Originally published at www.sunipeyk.com on August 9, 2017.

sunipeyk

sunipeyk medium yayınları

Sunipeyk

Written by

Sunipeyk

(-o-)

sunipeyk

sunipeyk

sunipeyk medium yayınları

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade