Fatal error: Call to undefined function- language_attributes
-
Hi guys and girls,
I’m trying to customize the twentytwelve theme in Dreamweaver, and I am constantly getting these errors.Fatal error: Call to undefined function language_attributes() in C:\xampp\htdocs\wp-content\themes\twentytwelve_edit\header.php
Note- the theme folder is called ‘twentytwelve_edit’ because I just reinstalled wordpress 3.5.1, so I copied the theme folder and pasted it back in after the fresh install, as was recommended by a google search, but still errors.
The lines in question are these:<!--[if IE 7]> <html class="ie ie7" <?php language_attributes(); ?>> <![endif]--> <!--[if IE 8]> <html class="ie ie8" <?php language_attributes(); ?>> <![endif]--> <!--[if !(IE 7) | !(IE 8) ]><!--> <html <?php language_attributes(); ?>> <!--<![endif]-->
If I delete the IE7 part, it says the error is the IE8 part, if I delete all of the language_attributes calls, then it displays nothing at all. Any suggestions for a noob designer would be greatly appreciated!
- The topic ‘Fatal error: Call to undefined function- language_attributes’ is closed to new replies.