PHP Error When Trying To Edit Template (2 posts)

  1. BlackDahlia
    Posted 10 years ago #

    When I try to get to the template, I get this error:

    Fatal error: Call to undefined function: get_header() in /home/fractald/public_html/wordpress/wp-content/themes/default/index.php on line 1

    This is the link to what I'm trying to get to:


  2. Ryan Boren
    WordPress Dev
    Posted 10 years ago #

    Theme files cannot be visited directly. You have to go through the main index which sets up the WP environment and then loads the current theme.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.