Sha256: f9a1bafa53dfbd7966f44b1ed730137522b0947444c0caacc5d468e8137bae88
Contents?: true
Size: 654 Bytes
Versions: 11
Compression:
Stored size: 654 Bytes
Contents
<?php add_action( 'wp_enqueue_scripts', '<%= theme_id %>_enqueue_scripts' ); if ( ! function_exists( '<%= theme_id %>_enqueue_scripts' ) ) : /** * Add theme styles and scripts here */ function <%= theme_id %>_enqueue_scripts() { if ( ! is_admin() ) { wp_enqueue_style( '<%= theme_id %>-style', get_bloginfo( 'stylesheet_url' ) ); } } endif; // <%= theme_id %>_enqueue_scripts add_action( 'after_setup_theme', '<%= theme_id %>_setup' ); if ( ! function_exists( '<%= theme_id %>_setup' ) ) : /** * Set up your theme here */ function <%= theme_id %>_setup() { add_theme_support( 'post-thumbnails' ); } endif; // <%= theme_id %>_setup
Version data entries
11 entries across 11 versions & 3 rubygems