WordPress.org

Ready to get started?Download WordPress

Forums

Page content duplicated within <HEAD> (4 posts)

  1. gdfwilliams
    Member
    Posted 4 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:
    http://dev.trmom.com/classified-ads/

    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.

    Thanks,
    Greg Williams

  2. esmi
    Theme Diva & Forum Moderator
    Posted 4 years ago #

    Bad plugin?

  3. gdfwilliams
    Member
    Posted 4 years ago #

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

    http://dev.trmom.com/classified-ads/
    http://dev.trmom.com/directory/

    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()?

    GDW

  4. esmi
    Theme Diva & Forum Moderator
    Posted 4 years ago #

    Shouldn't do.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.