Ready to get started?Download WordPress


[resolved] There is a "d" at the top of every page! (11 posts)

  1. 509media
    Posted 5 years ago #

    So I looked all over to find where this lower case "d" is that it pops up even before I installed the theme. Can't find it. The website is http://www.taxprepsource.com. Can anybody tell me where to look?

  2. figaro
    Posted 5 years ago #

    Look near the top of your index.php file in the theme...looks like you may find it there.

  3. 509media
    Posted 5 years ago #

    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.

  4. figaro
    Posted 5 years ago #

    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.

  5. 509media
    Posted 5 years ago #

    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.

  6. testcricket
    Posted 5 years ago #

    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

  7. 509media
    Posted 5 years ago #

    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?

  8. Len
    Posted 5 years ago #

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

  9. 509media
    Posted 5 years ago #

    * 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' );


    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.

  10. Samuel Wood (Otto)
    Tech Ninja
    Posted 5 years ago #

    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.

  11. 509media
    Posted 5 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic