Fatal error: Call to undefined function: language_attributes() in /home/content/h/o/s/hostmosaik/html/partners/blog/wp-content/themes/zedsimple/header.php on line 2
So, do we need an upgrade to 2.1. to get your theme running? I have wp 1.0.4. and I am actually waiting till all the problems around 2.1. are solved. Meantime I can’t test you theme, which looks lovely to me. Do you have it somewhere on a testsite maybe?
Looks great! Thanks for showing. No pages shown, so I will have to do that manually beneath the header I guess. I think I’m gonna give 2.1 a try + your theme of course.
January 27th, 2007 at 2:36 am
[…] ZedSimple is a simple one column layout. Preview […]
January 27th, 2007 at 5:51 am
Got the following error:
Fatal error: Call to undefined function: language_attributes() in /home/content/h/o/s/hostmosaik/html/partners/blog/wp-content/themes/zedsimple/header.php on line 2
January 27th, 2007 at 5:58 am
I based ZedSimple on the Wordpress 2.1 default theme, I guess this breaks compatibility with older Wordpress versions …
Which version have you?
January 27th, 2007 at 9:22 pm
In the header.php when you call language_attributes() (a function added in Wordpress 2.1), you could wrap it in a conditional, like this:
<code> … </code>
Not sure what the pre-2.1 settings were, but whatever should be there should replace the …
Hope this helps.
January 28th, 2007 at 3:28 am
Thanks for the hint, will look at the 2.0.7 default theme and change accordingly …
February 2nd, 2007 at 3:42 pm
Not sure if that text went through or not, between the CODE tags…
The conditional would have looked like this:
if ( function_exists(language_attributes) ) { language_attributes() } else { …… }
February 3rd, 2007 at 3:05 am
Yes I can use function_exists(), but there is more than one new function called in the 2.1 default theme
Just tested it.
February 3rd, 2007 at 10:02 am
So, do we need an upgrade to 2.1. to get your theme running? I have wp 1.0.4. and I am actually waiting till all the problems around 2.1. are solved. Meantime I can’t test you theme, which looks lovely to me. Do you have it somewhere on a testsite maybe?
February 3rd, 2007 at 10:59 am
Yes, you do need 2.1. I’m running it and haven’t noticed any problems. Just switched to ZedSimple so you can use this site as preview.
February 3rd, 2007 at 1:51 pm
Looks great! Thanks for showing. No pages shown, so I will have to do that manually beneath the header I guess. I think I’m gonna give 2.1 a try + your theme of course.
February 5th, 2007 at 1:55 am
[…] ZedSimple is a simple one column layout. Preview […]