Page content duplicated within <HEAD> (4 posts)

  1. gdfwilliams
    Posted 6 years ago #

    I've recently been working on a WordPress installation at http://dev.trmom.com, and have run into something of a mystery (which I'm sure has to do with my recent customization efforts). I'm not entirely sure how I managed to do it, but some of my pages are getting inserted into the <HEAD> of the rendered HTML.

    Probably the best example of what's going on:

    That page contains a slug ([AWPCPCLASSIFIEDSUI]) which gets replaced with the classifieds content, but you'll see that content replicated on the page...

    Any ideas how that would be happening? The same is happeing for another page within an embedded plugin: http://dev.trmom.com/directory/

    I was customizing a theme layout when I noticed this issue. The only theme files updated were style.css, single.php, page.php, adn index.php. It seems like the content is getting inserted via teh header call to wp_head(), but I'm stumped as to what's going on here.

    Any help would be much appreciated.

    Greg Williams

  2. esmi
    Forum Moderator
    Posted 6 years ago #

    Bad plugin?

  3. gdfwilliams
    Posted 6 years ago #

    That's what I was thinking, but it's happening for more than one plugin:


    It seems to me to be related to the wp_head() function, where the script loader loads in the CSS etc for each of the installed plugins.

    Could theme changes cause a page to fail is_page()?


  4. esmi
    Forum Moderator
    Posted 6 years ago #

    Shouldn't do.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.