Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Responsive Meta Tag
* Viewport Meta Tag for Mobile Browsers
* @author Bill Erickson
* @link
function be_viewport_meta_tag() {
echo '<meta name="viewport" content="width=device-width, initial-scale=1.0"/>';
add_action( 'wp_head', 'be_viewport_meta_tag' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment