I’ve noticed that in the source code of my website there is Font Awesome loaded five times. Loaded versions are 3.2.1, 4.0.1, 4.1.0 and more. Shortcodes plugins, page builders,...
  • May 8, 2022
  • 0 Comments
I’m building a theme on top of purecss.io. In order to make the grid responsive I need to add this stylesheet. From functions.php function load_css() { wp_enqueue_style ( 'purecss-all-not-ie',...
  • May 8, 2022
  • 0 Comments
Everywhere is said that you need to use wp_enqueue_scripts() instead of wp_print_styles(). wp_print_styles() is located in wp-includes/functions.wp-styles.php. So what does it mean? What should I change? Where? Why? Can...
  • May 8, 2022
  • 0 Comments
I am currently using a Plugin, which has created a Stylesheet within the following directory: /wp-content/uploads/plugin-name/css. I would like to remove this Plugin’s Stylesheet, since it is being called...
  • May 8, 2022
  • 0 Comments
I have seen script and style handles written in two different ways in wp_register_script and wp_enqueue_script (the same applies to wp_register_style and wp_enqueue_style): wp_register_script( 'jquery-someplugin', $location ); wp_register_script( 'jquery.someplugin',...
  • May 8, 2022
  • 0 Comments
How do I get the parent theme’s version in a child theme? I want to use it when loading the parent theme’s stylesheet. Here’s how I load the stylesheets...
  • May 7, 2022
  • 0 Comments