[wp-hackers] Replace default doctype on one page only through plugin

Lynne Pope lynne.pope at gmail.com
Mon Jan 19 02:38:26 GMT 2009


Hi all,
I am working on a site that is using XHTML 1.0 Strict but want to serve
XHTML 1.0 Transitional on one page only. The page uses a plugin so the
change to the doctype could go into the plugin.

I can do a query in header.php but want to avoid unnecessary queries (why
add an additional query to 300+ pages when only one is affected?) but cannot
get an override working for the plugin.

Any ideas?

Lynne


More information about the wp-hackers mailing list