Skip to content

Instantly share code, notes, and snippets.

@2shrestha22
Last active January 6, 2017 09:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 2shrestha22/6fb59ee6cbf70e1f5deae36415f00eb6 to your computer and use it in GitHub Desktop.
Save 2shrestha22/6fb59ee6cbf70e1f5deae36415f00eb6 to your computer and use it in GitHub Desktop.
<?php
function theme_enqueue_styles() {
$parent_style = 'twentythirteen-style';
wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' );
wp_enqueue_style( 'twentythirteen-child-style',
get_stylesheet_directory_uri() . '/style.css',
array( $parent_style )
);
}
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment