-
Notifications
You must be signed in to change notification settings - Fork 1
Custom Doctype
Bryan Willis edited this page Dec 13, 2015
·
1 revision
Use this if you want a custom doctype... for instance, if you you don't want the user to be able to zoom in an out so it acts more like a mobile app.
remove_action( 'genesis_doctype', 'bsg_conditional_comments' );
add_action( 'genesis_doctype', 'mytheme_bsg_conditional_comments' );
function mytheme_bsg_conditional_comments() {
?>
<!DOCTYPE html>
<html lang="en" class="no-js" dir="ltr">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<?php
}