Viewing 10 replies - 1 through 10 (of 10 total)
  • Look near the top of your index.php file in the theme…looks like you may find it there.

    Thread Starter 509media

    (@509media)

    I looked there but even before the theme was installed the “d” was there. it even appears when I’m logged into the wordpress admin page.

    Look in your theme and open the header.php file. Look close to the top of the file and find the following:

    d<!DOCTYPE html PUBLIC

    If you see that d before <!DOCTYPE then just delete it and save.

    Thread Starter 509media

    (@509media)

    It’s for sure not in the header.php file. I looked at the source code for the page also and when I pull up the files, it’s not there, like I’m taking crazy pills. I have another site where there is no theme installed and the “d” is there also. I appreciate the help, but I looked in every file I could think of and the “d” isn’t there.

    Yeah I can see it on your site and I can see exactly where it is in your source code. It’s the very first letter at the very top of your header.php – it’s sitting up there before the code begins right next to the first < of the file.

    I don’t know a lot about how WordPress files all work together but if you can’t find it where it shows up in the source code (ie in header.php) then perhaps it’s in one of the core files for WordPress, like wp-blog-header.php. Don’t rely on me though, I’m just guessing.

    Very odd problem!!! LOL

    Thread Starter 509media

    (@509media)

    The screwy thing is that I see it on every page, not matter what I’m looking at. I could be editing a page, and I see it. I could be uploading an image, and I see it. It’s everywhere. It has to be in the wordpress code, not the theme, but what file would it be in that would make it show up everywhere?

    testcricket is right. Check wp-blog-header.php at root.

    Thread Starter 509media

    (@509media)

    <?php
    /**
    * Loads the WordPress environment and template.
    *
    * @package WordPress
    */
    wp-blog-header.php only contains this:

    if ( !isset($wp_did_header) ) {

    $wp_did_header = true;

    require_once( dirname(__FILE__) . ‘/wp-load.php’ );

    wp();

    require_once( ABSPATH . WPINC . ‘/template-loader.php’ );

    }

    ?>

    No where is anything that would be causing this issuw. This is copied from my FTP. Still can’t find it.

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Seeing that it also shows up on your feeds, then I would suggest looking in the root index.php file. Not the one in your theme, but the main index.php file for the main WordPress directory.

    Also, look in the wp-config.php file as well.

    Thread Starter 509media

    (@509media)

    That was it! The wp-config.php file had the “d” at the top. Thanks!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘There is a “d” at the top of every page!’ is closed to new replies.