Hello, thank you for Beans. It's awesome. I have a question because I've had trouble with my icons on my beans site.
- I wasn't able to see my icons until I added the code below
- I am getting 15,000+ requests per day for /wp-content/themes/tm-beans/lib/api/uikit/src/fonts/fontawesome-webfont.woff2/ . It's my top bandwidth request.
I know I'm doing something wrong and I wonder if anyone can give me any help on this.
Thank you very much in advance.
add_action( 'beans_uikit_enqueue_scripts', 'ja_enqueue_uikit_icons' );
function ja_enqueue_uikit_icons() {
beans_uikit_enqueue_components( true );
}
Hmm... the icons should be added by default. You might be running into a bug with the compiler that will be fixed in the next release.
If you want to test this, You can try replacing the class-beans-compiler.php in lib/api/compiler with this file: https://github.com/christophherr/Beans/blob/fix/compiler-path/lib/api/compiler/class-beans-compiler.php
and then removing your js_enqueue_uikit_icons function
Thank you very much for this reply, Christoph. I will give this a try.