I’m trying to dequeue fontawesome from a parent theme in my child theme. For this I use the following code:
However, this seems to also dequeue the parents theme styles, which I don’t want. What could be causing this?
For reference, I’m using the widely know WP Bootstrap Starter theme.
Solution
I found the cause for my problem. I used the “Child Theme Configurator” plugin to generate my child theme. The plugin put the following code at the top of my functions.php. The plugin decided that wp-bootstrap-starter-fontawesome-cdn
was relevant for the loading of the themes main CSS (look at the very end of the wp_enqueue_style
function):
- Hiện tại chúng tôi có hơn 25 nghìn bài văn mẫu các thể loại.
- Kho tài liệu, đề thi học sinh giỏi các lớp vô cùng phong phú.
- Mỗi ngày cập nhật hơn 100 đề thi chất lượng từ các website bán tài liệu lớn.
Tải đề thi VIP với giá siêu rẻ tại Vip.Dethihsg247.Com