• Hello! I’m having some trouble with my single.php file. I just wanted to use the one from the twentyten theme and make slight changes to fit my theme, but it’s not quite working for me, as can be seen on this page.

    It was returning the error

    Fatal error: Call to undefined function twentyten_posted_on() in /home/knivesa1/public_html/new/wp-content/themes/knives/single.php on line 26

    so I deleted the twentyten_ part but am still getting an error.

    Can anyone help me out here? Do I need to start my own single.php file from scratch or is it just a matter of changing something to fit my theme?

Viewing 1 replies (of 1 total)
  • Moderator t-p

    (@t-p)

    replace single.php with a fresh copy.

    Rename the old single.php if you want to save changes otherwise they will be overwritten by the new fresh file.

Viewing 1 replies (of 1 total)

The topic ‘Single.php returning fatal error’ is closed to new replies.