WordPress.org

Support

Support » Themes and Templates » Undefined Function

Undefined Function

  • Well I am working on a template for WordPress but one thing keeps bugging me. Every time I try to define a funtion. Even soemthing so simple as:

    “><?php bloginfo(‘name’); ?>

    I get a “Fatal error: Call to undefined function” no matter what I do. Even when its stuff I copied and pasted from other templates it refuses tow ork. Can anyone tell me why? Who thought it would be so hard to port a blogspot template http://animethoughts.blogspot.com/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Such errors with WordPress functions almost always means an incomplete upload occured. I’d recommend deleting the wp-include/ directory from your site, and re-uploading it (and its files) through ftp.

    http://www.ariolander.com/anime/index.php

    I think I will try that… I pluged in a line of code that fixed some problems but still stuff like:

    <?php the_content(); ?>

    Are refusing to cooperate. Thanks for the advice I will try that now…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Undefined Function’ is closed to new replies.