Stanislav Khromov on "[Plugin: Content Cards] wp_dequeue_style"

ساخت وبلاگ

giovanni-paperplane
Member
Posted 14 hours ago #

Hello and thanks for your plugin, it's very useful, well made and also easy to customize css.
How can i disable loding of
content-cards.css ?
Is there a way using something like this:

wp_dequeue_style('content-cards-css');

Thanks!

https://wordpress.org/plugins/content-cards/

Hey giovanni-paperplane,

You should be able to do the following:

add_action('wp_enqueue_scripts', function() { wp_dequeue_style('content-cards');
}, 11);

Let me know if you have any issues with the above code!

Edit Changed hook name.

giovanni-paperplane
Member
Posted 12 minutes ago #

Thank you! Works perfectly!

Great. Closing this topic!

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 140 تاريخ : سه شنبه 31 فروردين 1395 ساعت: 15:14

خبرنامه