Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (16 sloc) 493 Bytes
<snippet>
<content><![CDATA[
add_action( 'genesis_meta', '${1:prefix}_viewport_meta_tag' );
/**
* Outputs the viewport meta tag to the document head
*
* @return void
*/
function ${1:prefix}_viewport_meta_tag() {
echo '<meta name="viewport" content="width=device-width, initial-scale=1.0"/>';
}
]]></content>
<tabTrigger>viewportmeta</tabTrigger>
<scope>source.php,source.php.embedded.block.html</scope>
<description>Add viewport for responsive (mobile) design</description>
</snippet>