Homepage Help

<?php
/**
* Add Homepage Help
* @link http://www.billerickson.net/code/homepage-help
*
* @param string $post_type
* @param object $post
*/
function be_homepage_help( $post_type, $post ) {
if( $post->ID !== get_option( 'page_on_front' ) )
return;
get_current_screen()->add_help_tab( array(
'id' => 'homepage-sections',
'title' => 'Homepage Sections',
'content' => '<p><img src="' . get_stylesheet_directory_uri() . '/images/homepage-help.jpg" /></p>',
) );
}
add_action( 'add_meta_boxes', 'be_homepage_help', 10, 2 );
view raw functions.php hosted with ❤ by GitHub

Bill Erickson

Bill Erickson is a freelance WordPress developer and a contributing developer to the Genesis framework. For the past 14 years he has worked with attorneys, publishers, corporations, and non-profits, building custom websites tailored to their needs and goals.

Ready to upgrade your website?

I build custom WordPress websites that look great and are easy to manage.

Let's Talk