Home › Forums › Other › Problem with H&FJ cloud fonts in WordPress › Reply To: Problem with H&FJ cloud fonts in WordPress
I added the code to the function.php of the theme parent, and then also added a function.php file to the child theme, editing some other code I found. I don’t know if both were necessary, I was just trying whatever I could think of. (And I really have very little idea what I was doing!)
The child theme’s function.php, in it’s entirety, is:
<?php
add_action( 'genesis_meta', 'wpb_add_google_fonts', 5);
function wpb_add_google_fonts() {
echo '’;
}
(replace the “###” with your H&fJ numbers)
Obviously I could/should have renamed the function, but I never thought anyone else would be looking!
I even tried writing a plugin:
But I think the main thing is the wildcard domain. Add a new domain to your project: *.yourdomain.com
That should do it!