Problem viewing pages on localhost-wordpress


rawalprashant

Recommended Posts

Hi -

I am updating a theme which I copied over from the live site to localhost. I can view the main page, but when I try to view any of the other pages that are published I get this message:

Fatal error: Call to undefined function get_header() in /Library/WebServer/Documents/wp-content/themes/new/sitemap.php on line 6

Is it possible to view secondary pages on local host?

thanks!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...