I was wondering if anyone could tell me how to put code like this into a plug in?
I was going to hack the original WordPress file (I think it’s in wp-header.php), but decided I’d rather be able to release it to the public.
Any help on how to override the default Content-type? It seems as though it fetches it from the database using the Get_option() function. I don’t want to be setting the database everytime someone with a different browser turns up, either.
Is there an easier way?