(Used to demonstrate adding a section with a Platform Child Theme)';
// The template areas this section works with..
// Examples areas: 'main', 'content', 'header', 'footer', 'morefoot', sidebar1, array('main', 'content'), etc....
$default_settings['workswith'] = array('main');
// The icon users will see in the admin.. add the full url here
$default_settings['icon'] = CHILD_IMAGES . '/icon-pullquote.png';
// OPS
/* Draw section using the section API - don't need to touch this*/
$settings = wp_parse_args( $registered_settings, $default_settings );
parent::__construct($name, $id, $settings);
}
/* Use this function to create the template for the section */
function section_template() {
// The Quotes
$thequotes = array(
'Benjamin Franklin' => 'Anger is never without a reason, but seldom with a good one.',
'Latin Proverb' => 'Fortune favors the bold.',
'George Washington' => 'It is better be alone than in bad company.',
'Thomas Edison' => 'Everything comes to him who hustles while he waits.',
'Mark Twain' => 'Action speaks louder than words but not nearly as often.',
'Albert Einstein' => 'A man should look for what is, and not for what he thinks should be.',
'Thomas Jefferson' => 'Delay is preferable to error.'
);
// Randomly Select One
$quote_key = array_rand($thequotes);
// Draw the HTML... ?>
—