Archived topic
Putting stuff in the [head] area
3 replies · Started by Joni on June 18, 2019
I used to be able to put calls to external stylesheets. Google fonts, and other things before the </head> HTML tag using hooks (you can do this in Genesis and in some other themes as well). How can I do that with the new GP? I tried the hook wp_head but it just spits out the css URL in the top of the live site; that's no good.
I figured it out; I am so brain-dead lately! I had been so eager to grab the stylesheet, I forgot the link rel stuff. This is how you include font-awesome in the header: '<link rel='stylesheet' id='font-awesome-css' href='https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css' />' (Yes, I know I should be using version 5.)
Glad you've figured out!
I will be glad when this project from h*** is done!!