[Resolved] Putting stuff in the [head] area

Home Forums Support Putting stuff in the [head] area

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #933564
    Joni

    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.

    #933568
    Joni

    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&#8217; />’ (Yes, I know I should be using version 5.)

    #933578
    Leo
    Staff
    Customer Support

    Glad you’ve figured out!

    #933581
    Joni

    I will be glad when this project from h*** is done!!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.