Add references to the plug-in in HTTP / head
Add meta tag and/or HTTP headers to advertise the module
Leave a comment
on 2009-07-11 18:26 *
By James Pearce
Assigned to set to jamesgpearce
Status changed from New to Accepted
function wordpress_mobile_pack_send_headers($wp) {
@header("X-Mobilized-By: WordPress Mobile Pack " . WPMP_VERSION);
}
function wordpress_mobile_pack_generator($generator) {
return '<meta name="generator" content="WordPress ' . get_bloginfo( 'version' ) . ', fitted with the WordPress Mobile Pack ' . WPMP_VERSION . ' />';
}
(unless anyone has any better ideas)
@header("X-Mobilized-By: WordPress Mobile Pack " . WPMP_VERSION);
}
function wordpress_mobile_pack_generator($generator) {
return '<meta name="generator" content="WordPress ' . get_bloginfo( 'version' ) . ', fitted with the WordPress Mobile Pack ' . WPMP_VERSION . ' />';
}
(unless anyone has any better ideas)