• Hello!

    The last part of your main file is causing there to be whitespace at the beginning of the DOM, which interferes with feeds and cause them to fail.

    <?php  add_action( 'template_redirect', 'wp_search_url' );?>
    <?php } ?> 

    This will fix it:

    <?php  add_action( 'template_redirect', 'wp_search_url' );?>
    <?php }
  • The topic ‘Causing white-space at top of DOM’ is closed to new replies.