Viewer

Headers DemoDownload plugin

headers-demo.php

<?php
/*
Plugin Name: Headers Demo
Description: Sample code that defines a set of six responsive header images in the TwentyThirteen theme.
Author: Rod Whiteley
*/

// make this plugin behave like a child theme!
function hd_scripts () { // include my style.css...
	wp_register_style('hd_style', site_url('wp-content/plugins/headers-demo/style.css'));
	wp_enqueue_style('hd_style');
	}
add_action('wp_enqueue_scripts', 'hd_scripts', 11);

function hd_setup () { // run my functions.php...
	require('functions.php');
	}
add_action('after_setup_theme', 'hd_setup', 11);
?>