• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

trailing whitespace outside of the tags.

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › trailing whitespace outside of the tags.

This topic is: not resolved

Tagged: trailing whitespace

  • This topic has 1 reply, 2 voices, and was last updated 11 years, 2 months ago by Susan.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • June 17, 2015 at 11:32 pm #156623
    Jinka Varalakshmi
    Member

    Sir, recently my sitemap generated by wordpress seo by yoast plugin giving error.

    This page contains the following errors:

    error on line 3 at column 6: XML declaration allowed only at the start of the document
    Below is a rendering of the page up to the first error.

    I searched for the solution in yoast forum. The answer is

    Check your themes functions.php file and other plugins for trailing whitespace (or opening whitespace) outside of the <?php and ?> tags.

    I checked functions.php file, but I could not find whitespace. And I could not find ?> tag also.

    Please let me know the solution.


    My hobby is to learn about new technologies and writing technical tips in my blog whatvwant.com
    Google+ | Facebook | Twitter

    http://www.whatvwant.com
    August 22, 2015 at 1:39 pm #163184
    Susan
    Moderator

    As you posted this awhile ago, I hope you were able to get your issue resolved. If it was resolved, please go ahead and mark it resolved so that it can be closed.

    If not, please post back here, and I will try to assist, or will escalate for you.

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble