WordPress.org

Forums

Validation error (3 posts)

  1. rach3ldr3w
    Member
    Posted 9 years ago #

    I try to validate my themes in html 4.0 transitional via w3schools, and I keep getting this error for all my themes:

    3: <b>Fatal error</b>: Call to undefined function: get_header() in <b>...../users/alias/wordpress/wp-content/themes/hmtwice/index.php</b> on line <b>2</b>

    I don't know how to fix this :/

    Here's the validation page link--
    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.unknown-entity.org%2Fusers%2Falias%2Fwordpress%2Fwp-content%2Fthemes%2Fhmtwice%2F&charset=%28detect+automatically%29&doctype=HTML+4.01+Transitional&ss=1

  2. You can't validate a WordPress theme directly. You need to validate the site that it generates when activated.

    e.g. http://validator.w3.org/check?verbose=1&uri=http%3A//www.unknown-entity.org/users/alias/wordpress/
    westi

  3. rach3ldr3w
    Member
    Posted 9 years ago #

    oh, ok...
    Thank you so much!

Topic Closed

This topic has been closed to new replies.

About this Topic