I'm currently working on an appcache plugin for WordPress. One thing that it should do is add a manifest reference in the <html>
tag of the site. It has to resemble something like this:
<html manifest="manifest.appcache">
Is there any way of doing this programmatically within a plugin? My current idea would be to identify the <html
part of a theme's header file and inject the manifest using something like str_replace()
. However, I can't see a way of filtering the output of the get_header()
function either via the get_header()
action or load_template()
function.
If anyone has any ideas I'd appreciate help.
0777
in WP for a reason ;)