WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] wp_head call is loading twice (3 posts)

  1. bencharity
    Member
    Posted 4 years ago #

    Hello all,

    I am building my own theme (and still a bit fresh to all of this), and just noticed that the <?php wp_head(); ?> is loading twice in my page output. I only have one call to the wp_head.

    Is there something that I am not understanding?

    Thanks in advance,
    benjamin

  2. s_ha_dum
    Member
    Posted 4 years ago #

    Its hard to say based on the information given. Do you have an URL?

  3. bencharity
    Member
    Posted 4 years ago #

    Wow I feel really stupid right now. As I went back to pull some code, I realized that while I was correct in that wp_head was only called once in the header...somehow a call for wp_head snuck into the body also.

    Extremely sorry for being 'one of those guys' who posts something then finds out it was just his own oversight.

    Thanks again though,
    Benjamin

Topic Closed

This topic has been closed to new replies.

About this Topic