[wp-hackers] Turn off mobile comments

Lee Rickler info at a5d.org
Wed Oct 19 15:39:42 UTC 2011


I used this to load a iPad specific navbar, might be useful/ adaptable:

 <script type="text/javascript">
if((navigator.userAgent.match(/iPad/i))) {
document.write("<?php get_template_part('navpad'); ?>");
} else { 
document.write();
}
</script>


More information about the wp-hackers mailing list