• Hi,
    I am integrating wordpress with my html,
    i have successfully completed home page,
    but when it comes to 2 page, there is error,

    Fatal error: Call to undefined function language_attributes() in C:\wamp\www\test\header2.php on line 14

    there was a bit different header from home, so i named header2.php…

    language_attributes() is working fine in header of home but not in 2nd page…
    I’m not getting to the point where i got wrong..

    Thanks for any help in advance…

Viewing 2 replies - 1 through 2 (of 2 total)
  • This function language_attributes() funtion is not defined in your functions.php file. Try to remove it from where it is being called.

    Thread Starter Mohammad Fahad Khan

    (@mohammad-fahad-khan)

    Thanks 2starblog

    i did what you suggested…

    there is no error but the page is blank now,
    nothing the page showing…
    on the title of the page error in line 23 is being shown,
    where written the code;
    wp_title( ‘|’, true, ‘right’ );

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error: Call to undefined function language_attributes()’ is closed to new replies.