I am building a theme and using Easy google fonts WordPress Plugin. I created several typography controls within Theme Customizer for Post content,Post header, Author page content, Single Post...
  • May 16, 2022
  • 0 Comments
This is my original code that pulled Font Awesome icons, which is placed in my functions.php file: wp_enqueue_style( 'prefix-font-awesome', '//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.1/css/font-awesome.min.css', array(), '4.6.1' ); They’ve recently started offering unique embed...
  • May 16, 2022
  • 0 Comments
It’s my understanding that WordPress now processes SASS files but for some reason mine don’t work. I’m trying to call it using wp_enqueue_style directly in header.php via the head...
  • May 16, 2022
  • 0 Comments
Typically when I add stylesheets I use wp_enqueue_style multiple times within a single function, then call that function once with wp_enqueue_scripts. There doesn’t seem to be any logic to...
  • May 16, 2022
  • 0 Comments
I’m creating for the first time a theme from scratch. It’s not a child theme In theme’s function.php file I’m doing add_action( 'wp_enqueue_scripts', function() { wp_enqueue_style( 'style', get_stylesheet_uri()); });...
  • May 15, 2022
  • 0 Comments