2011-03-16, 06:28:32
polyfragmented Wrote:I defined a new field with the name of "site-language" and put the following function call into the body tag, analoguous to the get_page_slug(); call.
Code:<body id="<?php get_page_slug(); ?>" class="<?php get_custom_field(site-language); ?>">
It should work with 3.0b, but you definitely need quotes around the name (not sure why you don't get an error):
Code:
<?php get_custom_field("site-language"); ?>