Skip to content

Instantly share code, notes, and snippets.

@cjkoepke
Last active February 22, 2016 05:05
Show Gist options
  • Save cjkoepke/570a0a6463769947e80e to your computer and use it in GitHub Desktop.
Save cjkoepke/570a0a6463769947e80e to your computer and use it in GitHub Desktop.
This is what functional code looks like that still equals crap.
<?php
add_action('wp_enqueue_scripts','genesis_sample_google_fonts' );
function genesis_sample_google_fonts() {
wp_enqueue_style( 'google-fonts','//fonts.googleapis.com/css?family=Lato:300,400,700', array(), CHILD_THEME_VERSION ); }
add_theme_support( 'html5', array(
'search-form', //search
'comment-form', 'comment-list' //comments
)
); add_theme_support( 'genesis-accessibility');add_theme_support('genesis-responsive-viewport');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment