• I have a <?php wp_head(); ?> right before the </head> tag, and its loading all sorts of CSS styles that control the look of a page, and I cant figure out where to find it. I looked in functions.php, all the CSS files included in the theme, and there is no way to find it. I am assuming it should be in the theme files somewhere, but it isnt (or at list I havent found it yet…)

    Thank you in advance for any info.

Viewing 4 replies - 1 through 4 (of 4 total)
  • wp_head() is an action that allows you to add code to the <head> section of your blog, such as Google AdSense. You would need to use a child theme to do this properly.

    its loading all sorts of CSS styles that control the look of a page,

    No, this is probably coming from the theme settings itself. If your theme allows you to customise certain features, it is probably adding that as CSS to each and every page it generates. If you want to avoid this (it does add to page load time slightly), you could copy that CSS to a child theme stylesheet and then reset the theme settings back to normal.

    Which theme are you using?

    Thread Starter jtt89

    (@jtt89)

    Picochic. I am actually redesigning the whole theme and kind of making my own out of this one. I am not using a child theme. I got rid of most of the CSS code anyway.

    Thread Starter jtt89

    (@jtt89)

    The code was coming from theme-options.php, and in order to get rid of the code in the header I had to disable theme options in functions.php

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    You must use wp_head() for many, many, many things to work. Don’t remove it ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Where is the stuff in wp_head(); coming from?’ is closed to new replies.